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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 180 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 221.3 MB / 236 MB, free: 2.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 82.5 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.012e-05, allocations: 4 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1711, allocations: 61.93 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.022/8.194, allocations: 2.757 GB / 3.259 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/8.194, allocations: 78.53 kB / 3.259 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9099/9.104, allocations: 217.8 MB / 3.472 GB, free: 96.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.773e-06/9.104, allocations: 0 / 3.472 GB, free: 96.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.506e-05/9.104, allocations: 3.781 kB / 3.472 GB, free: 96.93 MB / 0.5261 GB 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.009137/9.113, allocations: 1.763 MB / 3.473 GB, free: 96.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/9.113, allocations: 7.281 kB / 3.473 GB, free: 96.02 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.659e-05/9.113, allocations: 69.38 kB / 3.473 GB, free: 95.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/9.115, allocations: 225.6 kB / 3.474 GB, free: 95.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/9.115, allocations: 285.1 kB / 3.474 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/9.115, allocations: 24.31 kB / 3.474 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/9.115, allocations: 28.41 kB / 3.474 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/9.117, allocations: 0.8538 MB / 3.475 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/9.117, allocations: 2.344 kB / 3.475 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/9.118, allocations: 21.16 kB / 3.475 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/9.118, allocations: 7.531 kB / 3.475 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/9.119, allocations: 0.9499 MB / 3.476 GB, free: 95.62 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.003215/9.123, allocations: 2.776 MB / 3.478 GB, free: 93.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/9.124, allocations: 418.1 kB / 3.479 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/9.124, allocations: 76.25 kB / 3.479 GB, free: 93.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9321/10.06, allocations: 224.8 MB / 3.699 GB, free: 83.74 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/10.06, allocations: 0.499 MB / 3.699 GB, free: 83.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 5.04e-06/10.06, allocations: 7.281 kB / 3.699 GB, free: 83.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.002966/10.06, allocations: 0.7874 MB / 3.7 GB, free: 83.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/10.06, allocations: 377.4 kB / 3.7 GB, free: 83.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/10.06, allocations: 166.2 kB / 3.7 GB, free: 83.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/10.06, allocations: 35.42 kB / 3.7 GB, free: 82.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/10.06, allocations: 186.7 kB / 3.701 GB, free: 82.85 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/10.06, allocations: 105.5 kB / 3.701 GB, free: 82.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/10.06, allocations: 10.5 kB / 3.701 GB, free: 82.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001123/10.06, allocations: 339.2 kB / 3.701 GB, free: 82.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/10.06, allocations: 73.41 kB / 3.701 GB, free: 82.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/10.06, allocations: 334.1 kB / 3.701 GB, free: 82.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/10.06, allocations: 124.2 kB / 3.701 GB, free: 82.13 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/10.06, allocations: 3.344 kB / 3.701 GB, free: 82.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008647/10.06, allocations: 442.8 kB / 3.702 GB, free: 82.08 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/10.06, allocations: 7.938 kB / 3.702 GB, free: 82.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/10.06, allocations: 10.72 kB / 3.702 GB, free: 82.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/10.06, allocations: 15 kB / 3.702 GB, free: 82.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/10.06, allocations: 138.4 kB / 3.702 GB, free: 82.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/10.06, allocations: 20.62 kB / 3.702 GB, free: 82.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/10.06, allocations: 49.36 kB / 3.702 GB, free: 82.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/10.06, allocations: 47.64 kB / 3.702 GB, free: 82.07 MB / 0.5417 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_h_is.phase,state.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete 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.0001663/10.06, allocations: 145 kB / 3.702 GB, free: 81.96 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/10.06, allocations: 27.38 kB / 3.702 GB, free: 81.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/10.07, allocations: 1.768 MB / 3.704 GB, free: 81.69 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/10.07, allocations: 15.06 kB / 3.704 GB, free: 81.69 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/10.07, allocations: 3.969 kB / 3.704 GB, free: 81.69 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/10.07, allocations: 8.703 kB / 3.704 GB, free: 81.69 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/10.07, allocations: 0.9004 MB / 3.705 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/10.07, allocations: 3.906 kB / 3.705 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/10.07, allocations: 78.84 kB / 3.705 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/10.07, allocations: 3.969 kB / 3.705 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/10.07, allocations: 23.33 kB / 3.705 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/10.07, allocations: 12.48 kB / 3.705 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/10.07, allocations: 4.812 kB / 3.705 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009205/10.07, allocations: 0.8226 MB / 3.706 GB, free: 80.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/10.07, allocations: 340.6 kB / 3.706 GB, free: 80.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/10.07, allocations: 6.969 kB / 3.706 GB, free: 80.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/10.07, allocations: 22.8 kB / 3.706 GB, free: 80.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/10.07, allocations: 45.08 kB / 3.706 GB, free: 80.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/10.07, allocations: 23.09 kB / 3.706 GB, free: 80.79 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000463/10.07, allocations: 422.9 kB / 3.707 GB, free: 80.69 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.2e-07/10.07, allocations: 0 / 3.707 GB, free: 80.69 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008738/10.08, allocations: 1.525 MB / 3.708 GB, free: 80.6 MB / 0.5417 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 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete 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.01488/10.09, allocations: 3.971 MB / 3.712 GB, free: 78.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008362/10.1, allocations: 387 kB / 3.712 GB, free: 78.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/10.1, allocations: 3.906 kB / 3.712 GB, free: 78.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003687/10.1, allocations: 288.4 kB / 3.713 GB, free: 78.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008733/10.1, allocations: 125.1 kB / 3.713 GB, free: 78.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.702/12.8, allocations: 0.7569 GB / 4.47 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/12.8, allocations: 0.9704 MB / 4.471 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001517/12.8, allocations: 1.073 MB / 4.472 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/12.8, allocations: 286.5 kB / 4.472 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.834e-06/12.8, allocations: 2.516 kB / 4.472 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08997/12.89, allocations: 46.42 MB / 4.517 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/12.89, allocations: 180.8 kB / 4.518 GB, free: 101 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.933/16.82, allocations: 4 kB / 4.518 GB, free: 101 MB / 0.5417 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