Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.001686/0.001686, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001953/0.001953, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.492/1.492, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2277/0.2277, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",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.002294/0.002294, allocations: 87.86 kB / 0.4917 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1348, allocations: 66.03 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01849/0.1533, allocations: 13.97 MB / 0.5698 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3194/0.4727, allocations: 26.69 MB / 0.5959 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.4729, allocations: 3.125 kB / 0.5959 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.4733, allocations: 94.27 kB / 0.596 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0254/0.4987, allocations: 8.55 MB / 0.6044 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.4997, allocations: 349.1 kB / 0.6047 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004572/0.5043, allocations: 2.005 MB / 0.6066 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.657e-05/0.5044, allocations: 14.92 kB / 0.6067 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005492/0.5049, allocations: 274.5 kB / 0.6069 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006755/0.5117, allocations: 3.279 MB / 0.6101 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.5118, allocations: 10.75 kB / 0.6101 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02707/0.5389, allocations: 10.85 MB / 0.6207 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.539, allocations: 49.5 kB / 0.6208 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.5394, allocations: 141.5 kB / 0.6209 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.021/0.5604, allocations: 6.332 MB / 0.6271 GB, free: 12.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5604, allocations: 3.984 kB / 0.6271 GB, free: 12.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5604, allocations: 0 / 0.6271 GB, free: 12.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.5604, allocations: 0 / 0.6271 GB, free: 12.29 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.006033/0.5665, allocations: 1.608 MB / 0.6287 GB, free: 11.15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5665, allocations: 10.72 kB / 0.6287 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.704e-05/0.5666, allocations: 67.06 kB / 0.6287 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.5684, allocations: 223.8 kB / 0.629 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.5689, allocations: 279.6 kB / 0.6292 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.5689, allocations: 27.62 kB / 0.6292 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.569, allocations: 29.44 kB / 0.6293 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.5715, allocations: 0.8224 MB / 0.6301 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5715, allocations: 0 / 0.6301 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/0.5715, allocations: 17.75 kB / 0.6301 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.5715, allocations: 6.781 kB / 0.6301 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.5741, allocations: 0.9438 MB / 0.631 GB, free: 9.695 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.003691/0.5778, allocations: 2.574 MB / 0.6335 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.5794, allocations: 363 kB / 0.6339 GB, free: 7.152 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.5795, allocations: 73.75 kB / 0.634 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9797/1.559, allocations: 241.3 MB / 0.8696 GB, free: 255.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/1.561, allocations: 473.1 kB / 0.87 GB, free: 255.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 2.715e-06/1.561, allocations: 0 / 0.87 GB, free: 255.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=32): time 0.003212/1.564, allocations: 0.7863 MB / 0.8708 GB, free: 255.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.564, allocations: 371 kB / 0.8711 GB, free: 254.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/1.564, allocations: 184.3 kB / 0.8713 GB, free: 254.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/1.564, allocations: 39.22 kB / 0.8713 GB, free: 254.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/1.565, allocations: 189.6 kB / 0.8715 GB, free: 254.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/1.565, allocations: 122.3 kB / 0.8716 GB, free: 254.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/1.565, allocations: 125.1 kB / 0.8718 GB, free: 254.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/1.565, allocations: 333.2 kB / 0.8721 GB, free: 254.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/1.565, allocations: 81.72 kB / 0.8722 GB, free: 254.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/1.565, allocations: 341.9 kB / 0.8725 GB, free: 253.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/1.566, allocations: 486.2 kB / 0.8729 GB, free: 253.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/1.566, allocations: 2.562 kB / 0.8729 GB, free: 253.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009229/1.567, allocations: 469.4 kB / 0.8734 GB, free: 253.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/1.567, allocations: 10.97 kB / 0.8734 GB, free: 253.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/1.567, allocations: 14.8 kB / 0.8734 GB, free: 253.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/1.567, allocations: 12.69 kB / 0.8734 GB, free: 253.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/1.568, allocations: 146.5 kB / 0.8736 GB, free: 253.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.503e-05/1.568, allocations: 20.05 kB / 0.8736 GB, free: 253.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/1.568, allocations: 46.98 kB / 0.8736 GB, free: 253.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/1.568, allocations: 42.2 kB / 0.8737 GB, free: 253.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001656/1.568, allocations: 163.7 kB / 0.8738 GB, free: 253 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/1.568, allocations: 27.58 kB / 0.8739 GB, free: 252.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/1.571, allocations: 2.614 MB / 0.8764 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/1.571, allocations: 15.92 kB / 0.8764 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.571, allocations: 3.969 kB / 0.8764 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.571, allocations: 7.953 kB / 0.8764 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007879/1.572, allocations: 0.935 MB / 0.8774 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.572, allocations: 3.969 kB / 0.8774 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/1.572, allocations: 73.3 kB / 0.8774 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/1.572, allocations: 7.969 kB / 0.8774 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/1.572, allocations: 19.75 kB / 0.8775 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.572, allocations: 7.953 kB / 0.8775 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.572, allocations: 3.781 kB / 0.8775 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/1.573, allocations: 0.6969 MB / 0.8781 GB, free: 250.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/1.573, allocations: 131.5 kB / 0.8783 GB, free: 250.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/1.573, allocations: 106.8 kB / 0.8784 GB, free: 250.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/1.573, allocations: 19.7 kB / 0.8784 GB, free: 250.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/1.573, allocations: 32.3 kB / 0.8784 GB, free: 250.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/1.573, allocations: 16.61 kB / 0.8784 GB, free: 250.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000509/1.574, allocations: 0.5045 MB / 0.8789 GB, free: 250 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.574, allocations: 0 / 0.8789 GB, free: 250 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005592/1.579, allocations: 1.538 MB / 0.8804 GB, free: 249.7 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.009575/1.589, allocations: 2.894 MB / 0.8833 GB, free: 247.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00089/1.59, allocations: 416.4 kB / 0.8837 GB, free: 246.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.59, allocations: 0.75 kB / 0.8837 GB, free: 246.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/1.59, allocations: 224.7 kB / 0.8839 GB, free: 246.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009124/1.591, allocations: 134.2 kB / 0.884 GB, free: 246.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.298/2.889, allocations: 0.6073 GB / 1.491 GB, free: 106 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/2.889, allocations: 0.9856 MB / 1.492 GB, free: 105 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006029/2.89, allocations: 0.5225 MB / 1.493 GB, free: 104.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/2.89, allocations: 339.3 kB / 1.493 GB, free: 104.1 MB / 0.67 GB Notification: Performance of SimCode: time 9.82e-07/2.89, allocations: 0 / 1.493 GB, free: 104.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4101/3.3, allocations: 63.55 MB / 1.555 GB, free: 264.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/16.64, allocations: 2.812 kB / 1.555 GB, free: 264.8 MB / 0.67 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_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_WaterIF97_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.765886204317212] 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'] 16.76208127802238 16.782316536 16.217974641 Calling exit ...