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.001671/0.001671, 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.002417/0.002417, 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.428/1.428, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.223/0.223, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.003298/0.003298, allocations: 79.86 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3561, allocations: 66.09 MB / 0.5616 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03425/0.3904, allocations: 27.14 MB / 0.5881 GB, free: 9.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.3939, allocations: 2.979 MB / 0.591 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.394, allocations: 0 / 0.591 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.3943, allocations: 55.59 kB / 0.591 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.3961, allocations: 0.7422 MB / 0.5917 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.3965, allocations: 139.2 kB / 0.5919 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.397, allocations: 382.1 kB / 0.5922 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.397, allocations: 9.75 kB / 0.5923 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03383/0.4309, allocations: 15.4 MB / 0.6073 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004251/0.4313, allocations: 151.5 kB / 0.6074 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.4313, allocations: 11.94 kB / 0.6075 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008318/0.4396, allocations: 3.433 MB / 0.6108 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.4398, allocations: 39.83 kB / 0.6108 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.4399, allocations: 103.5 kB / 0.6109 GB, free: 1.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.441, allocations: 474.5 kB / 0.6114 GB, free: 1.141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.441, allocations: 3.984 kB / 0.6114 GB, free: 1.137 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.441, allocations: 0 / 0.6114 GB, free: 1.137 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.441, allocations: 0 / 0.6114 GB, free: 1.137 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.001178/0.4422, allocations: 0.5246 MB / 0.6119 GB, free: 0.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4422, allocations: 12.03 kB / 0.6119 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.318e-05/0.4423, allocations: 58.73 kB / 0.612 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.4425, allocations: 32.78 kB / 0.612 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.4428, allocations: 170.2 kB / 0.6122 GB, free: 288 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.4429, allocations: 230.7 kB / 0.6124 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.443, allocations: 24.02 kB / 0.6124 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.4435, allocations: 338.7 kB / 0.6127 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4435, allocations: 4 kB / 0.6127 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.4436, allocations: 15.94 kB / 0.6128 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.4436, allocations: 4 kB / 0.6128 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008286/0.4444, allocations: 0.7508 MB / 0.6135 GB, free: 14.85 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.001476/0.4459, allocations: 1.284 MB / 0.6147 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.4463, allocations: 155.7 kB / 0.6149 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.4464, allocations: 77.47 kB / 0.615 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/0.4479, allocations: 0.7388 MB / 0.6157 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.448, allocations: 30.56 kB / 0.6157 GB, free: 12.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.448, allocations: 0 / 0.6157 GB, free: 12.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003226/0.4483, allocations: 117.5 kB / 0.6158 GB, free: 12.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.4483, allocations: 59.34 kB / 0.6159 GB, free: 12.22 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.4485, allocations: 224.9 kB / 0.6161 GB, free: 12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.4486, allocations: 33.69 kB / 0.6161 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.4487, allocations: 223.5 kB / 0.6163 GB, free: 11.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.4488, allocations: 47.61 kB / 0.6164 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.4489, allocations: 90.03 kB / 0.6165 GB, free: 11.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.449, allocations: 326.8 kB / 0.6168 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.497e-05/0.4491, allocations: 44.84 kB / 0.6168 GB, free: 11.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.4494, allocations: 347.2 kB / 0.6172 GB, free: 10.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.4499, allocations: 448.6 kB / 0.6176 GB, free: 10.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4499, allocations: 0 / 0.6176 GB, free: 10.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005576/0.4504, allocations: 381.5 kB / 0.618 GB, free: 9.773 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4505, allocations: 8 kB / 0.618 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.4505, allocations: 15.94 kB / 0.618 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.4505, allocations: 12 kB / 0.618 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.4508, allocations: 99.83 kB / 0.6181 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.4508, allocations: 23.86 kB / 0.6181 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.451, allocations: 60.03 kB / 0.6182 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.451, allocations: 32 kB / 0.6182 GB, free: 9.527 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.0001287/0.4512, allocations: 145.7 kB / 0.6183 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.4512, allocations: 19.86 kB / 0.6184 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.4515, allocations: 152.8 kB / 0.6185 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.4515, allocations: 0 / 0.6185 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.4515, allocations: 8 kB / 0.6185 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4515, allocations: 0 / 0.6185 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.452, allocations: 376 kB / 0.6189 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.452, allocations: 4 kB / 0.6189 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.452, allocations: 20.08 kB / 0.6189 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.452, allocations: 4 kB / 0.6189 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.452, allocations: 48 / 0.6189 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.4521, allocations: 4 kB / 0.6189 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.4521, allocations: 3.984 kB / 0.6189 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.4523, allocations: 205.9 kB / 0.6191 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.4523, allocations: 19.89 kB / 0.6191 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.4524, allocations: 8.125 kB / 0.6191 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.4525, allocations: 11.98 kB / 0.6191 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.4525, allocations: 11.81 kB / 0.6191 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.4525, allocations: 7.984 kB / 0.6192 GB, free: 8.441 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.4527, allocations: 152.5 kB / 0.6193 GB, free: 8.293 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4527, allocations: 0 / 0.6193 GB, free: 8.293 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005014/0.4532, allocations: 99.81 kB / 0.6194 GB, free: 8.195 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.000718/0.4539, allocations: 0.7889 MB / 0.6202 GB, free: 7.371 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.4542, allocations: 161.4 kB / 0.6203 GB, free: 7.215 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4542, allocations: 0.9375 kB / 0.6203 GB, free: 7.215 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/0.4542, allocations: 24.12 kB / 0.6203 GB, free: 7.191 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.4547, allocations: 56.47 kB / 0.6204 GB, free: 7.137 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.4579, allocations: 2.805 MB / 0.6231 GB, free: 3.941 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.4582, allocations: 0.7285 MB / 0.6238 GB, free: 3.188 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.4584, allocations: 70.8 kB / 0.6239 GB, free: 3.113 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/0.4585, allocations: 59.42 kB / 0.624 GB, free: 3.055 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4585, allocations: 0 / 0.624 GB, free: 3.055 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.486, allocations: 5.464 MB / 0.6293 GB, free: 13.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.304, allocations: 13.05 kB / 0.6293 GB, free: 13.66 MB / 478.1 MB " [Timeout remaining time 652] (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.22659236099571] 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.374882050324231 8.388139457 7.94392541 Calling exit ...