Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007925/0.0007927, allocations: 99.42 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007984/0.0007984, allocations: 177.6 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1899/0.1899, allocations: 44.24 MB / 337.2 MB, free: 2.574 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003076, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1197, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01524/0.135, allocations: 12.8 MB / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02739/0.1624, allocations: 24.6 MB / 0.4971 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.1627, allocations: 3.938 kB / 0.4971 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.1631, allocations: 71.59 kB / 0.4972 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01996/0.183, allocations: 6.579 MB / 0.5036 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008512/0.1839, allocations: 299 kB / 0.5039 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2387/0.4226, allocations: 3.197 MB / 0.507 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.681e-05/0.4227, allocations: 20.5 kB / 0.507 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005647/0.4233, allocations: 253.9 kB / 0.5073 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.4334, allocations: 5.668 MB / 0.5128 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.737e-05/0.4336, allocations: 8.938 kB / 0.5128 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02327/0.4568, allocations: 10.36 MB / 0.523 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.4571, allocations: 49.2 kB / 0.523 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002744/0.4574, allocations: 76.05 kB / 0.5231 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.4686, allocations: 4.218 MB / 0.5272 GB, free: 14.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4686, allocations: 0 / 0.5272 GB, free: 14.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4686, allocations: 3.375 kB / 0.5272 GB, free: 14.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.4687, allocations: 0 / 0.5272 GB, free: 14.88 MB / 382.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.006748/0.4754, allocations: 1.496 MB / 0.5287 GB, free: 13.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.153e-05/0.4755, allocations: 10.53 kB / 0.5287 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.4756, allocations: 68.31 kB / 0.5287 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/0.4782, allocations: 234.8 kB / 0.529 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.4787, allocations: 264.7 kB / 0.5292 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.4787, allocations: 27.58 kB / 0.5292 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.4788, allocations: 33.06 kB / 0.5293 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003067/0.4819, allocations: 0.8196 MB / 0.5301 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.4819, allocations: 8.953 kB / 0.5301 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/0.482, allocations: 16.69 kB / 0.5301 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.482, allocations: 9.344 kB / 0.5301 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.485, allocations: 0.9448 MB / 0.531 GB, free: 12.96 MB / 382.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.00317/0.4882, allocations: 2.584 MB / 0.5335 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.4894, allocations: 376.1 kB / 0.5339 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.4895, allocations: 76.19 kB / 0.534 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8387/1.328, allocations: 227.1 MB / 0.7558 GB, free: 182.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/1.33, allocations: 477.3 kB / 0.7562 GB, free: 181.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 3.095e-06/1.33, allocations: 1.203 kB / 0.7563 GB, free: 181.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002725/1.332, allocations: 0.7774 MB / 0.757 GB, free: 180.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/1.332, allocations: 379.8 kB / 0.7574 GB, free: 180.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/1.333, allocations: 185.3 kB / 0.7575 GB, free: 180.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/1.333, allocations: 33.7 kB / 0.7576 GB, free: 180.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/1.333, allocations: 181.9 kB / 0.7578 GB, free: 179.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/1.333, allocations: 117.8 kB / 0.7579 GB, free: 179.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/1.333, allocations: 8 kB / 0.7579 GB, free: 179.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.057e-05/1.333, allocations: 330.8 kB / 0.7582 GB, free: 179.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/1.333, allocations: 81.06 kB / 0.7583 GB, free: 179.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/1.333, allocations: 353.2 kB / 0.7586 GB, free: 178.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/1.334, allocations: 124.8 kB / 0.7587 GB, free: 178.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/1.334, allocations: 4 kB / 0.7587 GB, free: 178.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007179/1.334, allocations: 467.8 kB / 0.7592 GB, free: 178.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.334, allocations: 8 kB / 0.7592 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.334, allocations: 16.09 kB / 0.7592 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/1.334, allocations: 14.06 kB / 0.7592 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/1.335, allocations: 143.7 kB / 0.7593 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/1.335, allocations: 19.92 kB / 0.7594 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/1.335, allocations: 51.19 kB / 0.7594 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/1.335, allocations: 47.97 kB / 0.7595 GB, free: 178.1 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001366/1.335, allocations: 157.6 kB / 0.7596 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/1.335, allocations: 31.72 kB / 0.7596 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/1.338, allocations: 2.651 MB / 0.7622 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/1.338, allocations: 15.98 kB / 0.7622 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.338, allocations: 4 kB / 0.7622 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/1.338, allocations: 7.984 kB / 0.7623 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007567/1.338, allocations: 0.9336 MB / 0.7632 GB, free: 174.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/1.338, allocations: 11.81 kB / 0.7632 GB, free: 174.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/1.339, allocations: 71.58 kB / 0.7632 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/1.339, allocations: 4 kB / 0.7633 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/1.339, allocations: 19.92 kB / 0.7633 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/1.339, allocations: 8.75 kB / 0.7633 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.339, allocations: 4 kB / 0.7633 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007419/1.34, allocations: 0.6892 MB / 0.764 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/1.34, allocations: 378.7 kB / 0.7643 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/1.34, allocations: 19.83 kB / 0.7643 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/1.34, allocations: 19.94 kB / 0.7644 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/1.34, allocations: 36.5 kB / 0.7644 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/1.34, allocations: 19.95 kB / 0.7644 GB, free: 172.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004753/1.341, allocations: 0.4962 MB / 0.7649 GB, free: 172.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.341, allocations: 0 / 0.7649 GB, free: 172.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005297/1.346, allocations: 1.522 MB / 0.7664 GB, free: 171 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009063/1.355, allocations: 2.858 MB / 0.7692 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008714/1.356, allocations: 416.2 kB / 0.7696 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.356, allocations: 0 / 0.7696 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002894/1.356, allocations: 277.6 kB / 0.7698 GB, free: 167.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000823/1.357, allocations: 130.7 kB / 0.77 GB, free: 167.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.559/2.916, allocations: 0.602 GB / 1.372 GB, free: 133.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/2.917, allocations: 0.9819 MB / 1.373 GB, free: 132.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00077/2.918, allocations: 0.5244 MB / 1.373 GB, free: 132.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/2.918, allocations: 323.3 kB / 1.374 GB, free: 131.9 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/2.918, allocations: 4 kB / 1.374 GB, free: 131.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/3.026, allocations: 64.14 MB / 1.436 GB, free: 67.93 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/3.027, allocations: 210.3 kB / 1.437 GB, free: 67.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.916/8.943, allocations: 0 / 1.437 GB, free: 67.69 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat