Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002192/0.002192, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8198/0.8198, allocations: 133.9 MB / 443.5 MB, free: 14.3 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.16 kB / 0.6141 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1498, allocations: 85.85 MB / 0.6979 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.6239/0.7737, allocations: 177.5 MB / 0.8713 GB, free: 1.805 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01356/0.7873, allocations: 9.576 MB / 0.8806 GB, free: 1.777 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.7877, allocations: 12.59 kB / 0.8806 GB, free: 1.777 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0008839/0.7886, allocations: 198.3 kB / 0.8808 GB, free: 1.777 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.789, allocations: 98.53 kB / 0.8809 GB, free: 1.777 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.7893, allocations: 59.77 kB / 0.881 GB, free: 1.777 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0006544/0.7899, allocations: 322.7 kB / 0.8813 GB, free: 1.773 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.7903, allocations: 105.4 kB / 0.8814 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000514/0.7908, allocations: 161.6 kB / 0.8815 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.791, allocations: 110 kB / 0.8816 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.7911, allocations: 16.28 kB / 0.8816 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 6.845e-05/0.7912, allocations: 17.08 kB / 0.8817 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.7912, allocations: 37.44 kB / 0.8817 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.7913, allocations: 101.4 kB / 0.8818 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.7917, allocations: 220.5 kB / 0.882 GB, free: 1.742 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7917, allocations: 0 / 0.882 GB, free: 1.742 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7917, allocations: 0.9062 kB / 0.882 GB, free: 1.742 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.7917, allocations: 1.031 kB / 0.882 GB, free: 1.742 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007592/0.7925, allocations: 482.4 kB / 0.8825 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.7925, allocations: 12.17 kB / 0.8825 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.862e-05/0.7926, allocations: 6.438 kB / 0.8825 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.318e-05/0.7926, allocations: 57.11 kB / 0.8825 GB, free: 17.29 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.7927, allocations: 27.2 kB / 0.8826 GB, free: 17.28 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.7932, allocations: 258.9 kB / 0.8828 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.7932, allocations: 15.16 kB / 0.8828 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.7933, allocations: 21.11 kB / 0.8828 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.7937, allocations: 232.6 kB / 0.8831 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.7937, allocations: 1.719 kB / 0.8831 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.7937, allocations: 14.12 kB / 0.8831 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.7937, allocations: 6.531 kB / 0.8831 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.7939, allocations: 87.03 kB / 0.8832 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.7955, allocations: 1.438 MB / 0.8846 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.7956, allocations: 171.2 kB / 0.8847 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.7956, allocations: 81.08 kB / 0.8848 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.7957, allocations: 78.92 kB / 0.8849 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/0.7957, allocations: 111.6 kB / 0.885 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 2.264e-06/0.7957, allocations: 0.7969 kB / 0.885 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 0.0001304/0.7959, allocations: 52.81 kB / 0.885 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.7959, allocations: 128.8 kB / 0.8852 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.7963, allocations: 285.8 kB / 0.8854 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.7964, allocations: 26.67 kB / 0.8855 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.7965, allocations: 154 kB / 0.8856 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-06/0.7965, allocations: 2.031 kB / 0.8856 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.7965, allocations: 12.62 kB / 0.8856 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7967, allocations: 339.3 kB / 0.886 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.7967, allocations: 5.75 kB / 0.886 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.7967, allocations: 31.47 kB / 0.886 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.7968, allocations: 35.48 kB / 0.886 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7968, allocations: 0.8438 kB / 0.886 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000185/0.797, allocations: 75.98 kB / 0.8861 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.797, allocations: 6.75 kB / 0.8861 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.797, allocations: 1.062 kB / 0.8861 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.797, allocations: 1.812 kB / 0.8861 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.7971, allocations: 9.562 kB / 0.8861 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7971, allocations: 1.688 kB / 0.8861 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.7972, allocations: 23.42 kB / 0.8861 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.7972, allocations: 1.438 kB / 0.8861 GB, free: 14.43 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.7974, allocations: 208.3 kB / 0.8863 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.7975, allocations: 123.1 kB / 0.8865 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.7976, allocations: 129.1 kB / 0.8866 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.305e-05/0.7977, allocations: 180.5 kB / 0.8867 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001724/0.7979, allocations: 188.2 kB / 0.8869 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.07e-05/0.7979, allocations: 177.2 kB / 0.8871 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.7984, allocations: 473.9 kB / 0.8875 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-05/0.7985, allocations: 103.5 kB / 0.8876 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.7985, allocations: 110.4 kB / 0.8878 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.191e-05/0.7986, allocations: 179.1 kB / 0.8879 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.7988, allocations: 182.5 kB / 0.8881 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001889/0.7989, allocations: 178.3 kB / 0.8883 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-05/0.799, allocations: 181.3 kB / 0.8884 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.7993, allocations: 333.3 kB / 0.8888 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.7994, allocations: 204 kB / 0.889 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.7996, allocations: 185.1 kB / 0.8891 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.7999, allocations: 103.2 kB / 0.8892 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.8, allocations: 182.3 kB / 0.8894 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.8, allocations: 106.2 kB / 0.8895 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003059/0.8003, allocations: 208 kB / 0.8897 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8003, allocations: 1.438 kB / 0.8897 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004041/0.8007, allocations: 26.28 kB / 0.8897 GB, free: 10.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005867/0.8013, allocations: 0.8305 MB / 0.8905 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 9.093e-05/0.8014, allocations: 10.09 kB / 0.8905 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8014, allocations: 1.875 kB / 0.8906 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.8014, allocations: 1.344 kB / 0.8906 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.8025, allocations: 0.5369 MB / 0.8911 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.8061, allocations: 2.228 MB / 0.8933 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.8066, allocations: 0.7225 MB / 0.894 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.8067, allocations: 22.95 kB / 0.894 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.201e-05/0.8068, allocations: 57.03 kB / 0.894 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of SimCode: time 4.41e-07/0.8068, allocations: 0 / 0.894 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.8307, allocations: 4.736 MB / 0.8987 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.85, allocations: 11.06 kB / 0.8987 GB, free: 6.984 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.46497479599202] Failed to read output from testmodel.py, exit status != 0: 9.231726485013496 8.991441477 8.196270001 Calling exit ...