Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.00139/0.00139, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.00177/0.00177, allocations: 218.4 kB / 23 MB, free: 5.578 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.442/1.442, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.2239/0.2239, allocations: 46.9 MB / 359.4 MB, free: 4.887 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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.002413/0.002413, allocations: 79.86 kB / 0.4942 GB, free: 8.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.361, allocations: 65.99 MB / 0.5586 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03558/0.3966, allocations: 27.14 MB / 0.5851 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003726/0.4004, allocations: 2.975 MB / 0.588 GB, free: 7.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.4005, allocations: 3.938 kB / 0.588 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.4008, allocations: 47.67 kB / 0.5881 GB, free: 6.984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.4026, allocations: 0.7344 MB / 0.5888 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.4029, allocations: 127.5 kB / 0.5889 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005563/0.4035, allocations: 378.1 kB / 0.5893 GB, free: 5.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.684e-05/0.4036, allocations: 17.61 kB / 0.5893 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03689/0.4404, allocations: 15.51 MB / 0.6044 GB, free: 6.105 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.4409, allocations: 155.4 kB / 0.6046 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.4409, allocations: 11.94 kB / 0.6046 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00855/0.4494, allocations: 3.463 MB / 0.608 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.4496, allocations: 43.81 kB / 0.608 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.4497, allocations: 107.5 kB / 0.6081 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.4508, allocations: 470.6 kB / 0.6086 GB, free: 1.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4508, allocations: 0 / 0.6086 GB, free: 1.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4508, allocations: 0 / 0.6086 GB, free: 1.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.4508, allocations: 0 / 0.6086 GB, free: 1.832 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001286/0.4521, allocations: 0.6062 MB / 0.6092 GB, free: 1.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4522, allocations: 8.031 kB / 0.6092 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.766e-05/0.4523, allocations: 62.72 kB / 0.6092 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.4524, allocations: 28.73 kB / 0.6093 GB, free: 1.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.4528, allocations: 232 kB / 0.6095 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.4529, allocations: 123.9 kB / 0.6096 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.453, allocations: 27.94 kB / 0.6096 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.4535, allocations: 323.6 kB / 0.6099 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4535, allocations: 0 / 0.6099 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.4536, allocations: 15.94 kB / 0.6099 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.4536, allocations: 8 kB / 0.6099 GB, free: 276 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.4546, allocations: 0.7468 MB / 0.6107 GB, free: 15.52 MB / 462.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.001647/0.4563, allocations: 1.308 MB / 0.612 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.4566, allocations: 147.8 kB / 0.6121 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.4568, allocations: 81.42 kB / 0.6122 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002873/0.4596, allocations: 2.814 MB / 0.6149 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.4597, allocations: 38.55 kB / 0.615 GB, free: 10.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.4597, allocations: 0 / 0.615 GB, free: 10.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003214/0.46, allocations: 109.5 kB / 0.6151 GB, free: 10.35 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.4601, allocations: 59.34 kB / 0.6151 GB, free: 10.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.4603, allocations: 219.5 kB / 0.6153 GB, free: 10.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.4603, allocations: 33.64 kB / 0.6154 GB, free: 10.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.4605, allocations: 231.3 kB / 0.6156 GB, free: 9.785 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.4605, allocations: 47.67 kB / 0.6156 GB, free: 9.738 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.4606, allocations: 86.03 kB / 0.6157 GB, free: 9.648 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4608, allocations: 326.8 kB / 0.616 GB, free: 9.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.4609, allocations: 44.84 kB / 0.6161 GB, free: 9.273 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.4612, allocations: 339.2 kB / 0.6164 GB, free: 8.797 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.4617, allocations: 452.6 kB / 0.6168 GB, free: 8.207 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.4617, allocations: 4 kB / 0.6168 GB, free: 8.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005695/0.4623, allocations: 377.9 kB / 0.6172 GB, free: 7.828 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.4623, allocations: 14.97 kB / 0.6172 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.4623, allocations: 11.94 kB / 0.6172 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.4623, allocations: 16 kB / 0.6172 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.4626, allocations: 99.77 kB / 0.6173 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/0.4626, allocations: 23.92 kB / 0.6173 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.4628, allocations: 51.62 kB / 0.6174 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.4629, allocations: 35.98 kB / 0.6174 GB, free: 7.582 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001432/0.463, allocations: 145.6 kB / 0.6176 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.4631, allocations: 27.92 kB / 0.6176 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.4634, allocations: 144.8 kB / 0.6177 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.4634, allocations: 4 kB / 0.6177 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4634, allocations: 4 kB / 0.6177 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4634, allocations: 0 / 0.6177 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.4639, allocations: 412.8 kB / 0.6181 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4639, allocations: 0 / 0.6181 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.464, allocations: 19.98 kB / 0.6181 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.464, allocations: 0 / 0.6181 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.464, allocations: 4 kB / 0.6182 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.464, allocations: 4.094 kB / 0.6182 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.464, allocations: 4.062 kB / 0.6182 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.4642, allocations: 205.9 kB / 0.6184 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.4643, allocations: 101 kB / 0.6185 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.4643, allocations: 7.938 kB / 0.6185 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.4645, allocations: 15.98 kB / 0.6185 GB, free: 6.371 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.4645, allocations: 7.938 kB / 0.6185 GB, free: 6.363 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.4645, allocations: 4 kB / 0.6185 GB, free: 6.359 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.4646, allocations: 156.5 kB / 0.6186 GB, free: 6.211 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4646, allocations: 0 / 0.6186 GB, free: 6.211 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004943/0.4651, allocations: 91.88 kB / 0.6187 GB, free: 6.121 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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.00071/0.4658, allocations: 0.7967 MB / 0.6195 GB, free: 5.289 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.4662, allocations: 164.6 kB / 0.6197 GB, free: 5.129 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4662, allocations: 1.812 kB / 0.6197 GB, free: 5.129 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.4662, allocations: 23.94 kB / 0.6197 GB, free: 5.105 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.4666, allocations: 40.81 kB / 0.6197 GB, free: 5.066 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.4699, allocations: 2.82 MB / 0.6225 GB, free: 1.852 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.4703, allocations: 0.7245 MB / 0.6232 GB, free: 1.102 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.4705, allocations: 62.83 kB / 0.6232 GB, free: 1.039 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.369e-05/0.4706, allocations: 59.42 kB / 0.6233 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4706, allocations: 0 / 0.6233 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.4993, allocations: 5.256 MB / 0.6284 GB, free: 11.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.523, allocations: 4.641 kB / 0.6284 GB, free: 11.79 MB / 478.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.287469461007277] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is', 'eps'] 8.592674582992913 8.60729569 8.153302646 Calling exit ...