Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001708/0.001708, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002206/0.002206, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2253/0.2253, allocations: 46.93 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 87.84 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3434, allocations: 66.09 MB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.02043/0.3638, allocations: 11.37 MB / 0.5727 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01803/0.3818, allocations: 11.86 MB / 0.5842 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.382, allocations: 0 / 0.5842 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.3824, allocations: 79.42 kB / 0.5843 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009814/0.3922, allocations: 3.138 MB / 0.5874 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.3926, allocations: 155.2 kB / 0.5875 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006526/0.3992, allocations: 3.963 MB / 0.5914 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.3992, allocations: 12.58 kB / 0.5914 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.3994, allocations: 147.5 kB / 0.5916 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01096/0.4104, allocations: 7.246 MB / 0.5986 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.4105, allocations: 8 kB / 0.5986 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008187/0.4187, allocations: 2.439 MB / 0.601 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.4188, allocations: 47.8 kB / 0.6011 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.4191, allocations: 123.4 kB / 0.6012 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00579/0.4249, allocations: 1.718 MB / 0.6029 GB, free: 9.867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4249, allocations: 4 kB / 0.6029 GB, free: 9.863 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4249, allocations: 0 / 0.6029 GB, free: 9.863 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4249, allocations: 0 / 0.6029 GB, free: 9.863 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002315/0.4272, allocations: 0.9126 MB / 0.6038 GB, free: 8.918 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.4273, allocations: 12.03 kB / 0.6038 GB, free: 8.906 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.04e-05/0.4274, allocations: 66.72 kB / 0.6038 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005712/0.428, allocations: 76.73 kB / 0.6039 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.4283, allocations: 190.1 kB / 0.6041 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.4283, allocations: 21.03 kB / 0.6041 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.4284, allocations: 24.38 kB / 0.6041 GB, free: 8.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009764/0.4294, allocations: 498.5 kB / 0.6046 GB, free: 7.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4294, allocations: 3.938 kB / 0.6046 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.4294, allocations: 12 kB / 0.6046 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.4294, allocations: 11.98 kB / 0.6046 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.4306, allocations: 0.6966 MB / 0.6053 GB, free: 7.254 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006325/0.4369, allocations: 2.777 MB / 0.608 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.4376, allocations: 207.3 kB / 0.6082 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.4377, allocations: 69.39 kB / 0.6083 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09761/0.5353, allocations: 22.12 MB / 0.6299 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.5365, allocations: 350.5 kB / 0.6302 GB, free: 13.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 3.196e-06/0.5365, allocations: 7.938 kB / 0.6302 GB, free: 13.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004137/0.5407, allocations: 0.8807 MB / 0.6311 GB, free: 12.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000331/0.541, allocations: 483.1 kB / 0.6316 GB, free: 12.03 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.5412, allocations: 158.4 kB / 0.6317 GB, free: 11.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.5413, allocations: 37.64 kB / 0.6317 GB, free: 11.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.5414, allocations: 164.3 kB / 0.6319 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.5415, allocations: 130.9 kB / 0.632 GB, free: 11.53 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.5417, allocations: 94.14 kB / 0.6321 GB, free: 11.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.5419, allocations: 330.8 kB / 0.6324 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.5421, allocations: 64.95 kB / 0.6325 GB, free: 11.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.5426, allocations: 314.2 kB / 0.6328 GB, free: 10.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008179/0.5434, allocations: 440 kB / 0.6332 GB, free: 10.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.5434, allocations: 4 kB / 0.6332 GB, free: 10.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001093/0.5445, allocations: 405.7 kB / 0.6336 GB, free: 9.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.5446, allocations: 8 kB / 0.6336 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.5446, allocations: 11.98 kB / 0.6336 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/0.5446, allocations: 15.98 kB / 0.6336 GB, free: 9.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/0.5472, allocations: 335.6 kB / 0.634 GB, free: 9.297 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007306/0.5479, allocations: 1.188 MB / 0.6351 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.5482, allocations: 27.88 kB / 0.6351 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.5482, allocations: 32 kB / 0.6352 GB, free: 8.004 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.5484, allocations: 153.6 kB / 0.6353 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.5485, allocations: 31.86 kB / 0.6353 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.5498, allocations: 0.9765 MB / 0.6363 GB, free: 6.805 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.5499, allocations: 11.98 kB / 0.6363 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5499, allocations: 0 / 0.6363 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5499, allocations: 4 kB / 0.6363 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.5513, allocations: 1.128 MB / 0.6374 GB, free: 5.602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.5513, allocations: 7.938 kB / 0.6374 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.5523, allocations: 139.9 kB / 0.6376 GB, free: 5.457 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5523, allocations: 4 kB / 0.6376 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.5524, allocations: 15.98 kB / 0.6376 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003651/0.5527, allocations: 0.5859 MB / 0.6381 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.5527, allocations: 4 kB / 0.6382 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/0.5534, allocations: 0.5309 MB / 0.6387 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.5534, allocations: 31.78 kB / 0.6387 GB, free: 4.219 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.5535, allocations: 51.5 kB / 0.6387 GB, free: 4.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.5538, allocations: 11.98 kB / 0.6388 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.5538, allocations: 27.97 kB / 0.6388 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.5538, allocations: 11.94 kB / 0.6388 GB, free: 4.117 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000325/0.5542, allocations: 275.1 kB / 0.6391 GB, free: 3.844 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5542, allocations: 0 / 0.6391 GB, free: 3.844 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001437/0.5556, allocations: 470.6 kB / 0.6395 GB, free: 3.383 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002377/0.558, allocations: 1.675 MB / 0.6411 GB, free: 1.645 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.5595, allocations: 385.8 kB / 0.6415 GB, free: 1.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5595, allocations: 0 / 0.6415 GB, free: 1.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007545/0.5602, allocations: 205.4 kB / 0.6417 GB, free: 1.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/0.561, allocations: 121.3 kB / 0.6418 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.203/1.764, allocations: 0.54 GB / 1.182 GB, free: 24.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/1.765, allocations: 0.8235 MB / 1.183 GB, free: 23.53 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003583/1.765, allocations: 170 kB / 1.183 GB, free: 23.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/1.765, allocations: 155.4 kB / 1.183 GB, free: 23.23 MB / 0.6231 GB Notification: Performance of SimCode: time 1.282e-06/1.765, allocations: 4 kB / 1.183 GB, free: 23.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/1.812, allocations: 20.56 MB / 1.203 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/14.43, allocations: 9.109 kB / 1.203 GB, free: 2.82 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.72010281821713] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eps', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is'] 14.786222629714757 14.797103948 14.369798899 Calling exit ...