Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.001896/0.001896, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 92.08 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6151/0.6151, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006443, allocations: 16 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1417, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.9/9.042, allocations: 2.752 GB / 3.231 GB, free: 63.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/9.042, allocations: 83.89 kB / 3.231 GB, free: 63.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.281/10.32, allocations: 216.1 MB / 3.442 GB, free: 53.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.655e-06/10.32, allocations: 0 / 3.442 GB, free: 53.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.727e-05/10.32, allocations: 4 kB / 3.442 GB, free: 53.38 MB / 0.4948 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.009271/10.33, allocations: 1.766 MB / 3.443 GB, free: 51.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/10.33, allocations: 12.02 kB / 3.443 GB, free: 51.55 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/10.33, allocations: 70.53 kB / 3.443 GB, free: 51.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002627/10.34, allocations: 219.4 kB / 3.444 GB, free: 51.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/10.34, allocations: 279.7 kB / 3.444 GB, free: 50.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/10.34, allocations: 28.66 kB / 3.444 GB, free: 50.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-05/10.34, allocations: 28 kB / 3.444 GB, free: 50.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/10.34, allocations: 0.8042 MB / 3.445 GB, free: 50.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/10.34, allocations: 3.953 kB / 3.445 GB, free: 50.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.971e-05/10.34, allocations: 20 kB / 3.445 GB, free: 50.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/10.34, allocations: 8 kB / 3.445 GB, free: 50.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/10.34, allocations: 0.9269 MB / 3.446 GB, free: 49.09 MB / 0.4948 GB 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.005163/10.35, allocations: 2.776 MB / 3.448 GB, free: 46.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/10.35, allocations: 366.2 kB / 3.449 GB, free: 45.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506/11.86, allocations: 223.3 MB / 3.667 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002182/11.86, allocations: 467.2 kB / 3.667 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.797e-06/11.86, allocations: 0 / 3.667 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.005004/11.86, allocations: 0.7629 MB / 3.668 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002632/11.86, allocations: 370.5 kB / 3.668 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/11.86, allocations: 170.2 kB / 3.669 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/11.86, allocations: 28.77 kB / 3.669 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/11.86, allocations: 260.9 kB / 3.669 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/11.86, allocations: 113.4 kB / 3.669 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/11.87, allocations: 12.38 kB / 3.669 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001656/11.87, allocations: 328.4 kB / 3.669 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/11.87, allocations: 74.8 kB / 3.669 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/11.87, allocations: 338.2 kB / 3.67 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/11.87, allocations: 129.5 kB / 3.67 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/11.87, allocations: 4 kB / 3.67 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001665/11.87, allocations: 457.8 kB / 3.67 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/11.87, allocations: 8 kB / 3.67 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/11.87, allocations: 12.5 kB / 3.67 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.157e-05/11.87, allocations: 12 kB / 3.67 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/11.87, allocations: 133.9 kB / 3.67 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.201e-05/11.87, allocations: 20.25 kB / 3.67 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/11.87, allocations: 49.52 kB / 3.67 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/11.87, allocations: 49.91 kB / 3.671 GB, free: 3.184 MB / 0.5261 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 () * 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.0003243/11.87, allocations: 157.9 kB / 3.671 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/11.87, allocations: 30.91 kB / 3.671 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004634/11.88, allocations: 2.501 MB / 3.673 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-05/11.88, allocations: 15.14 kB / 3.673 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/11.88, allocations: 4.547 kB / 3.673 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/11.88, allocations: 7.844 kB / 3.673 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/11.88, allocations: 0.9279 MB / 3.674 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/11.88, allocations: 4 kB / 3.674 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/11.88, allocations: 77.97 kB / 3.674 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/11.88, allocations: 11.84 kB / 3.674 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/11.88, allocations: 13.53 kB / 3.674 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/11.88, allocations: 4 kB / 3.674 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-05/11.88, allocations: 5.406 kB / 3.674 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/11.88, allocations: 0.8334 MB / 3.675 GB, free: 352 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006188/11.88, allocations: 379 kB / 3.675 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/11.88, allocations: 18.38 kB / 3.675 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/11.88, allocations: 24.02 kB / 3.675 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/11.88, allocations: 39.25 kB / 3.675 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/11.88, allocations: 18.69 kB / 3.675 GB, free: 72 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002062/11.88, allocations: 0.5385 MB / 3.676 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.92e-07/11.88, allocations: 0 / 3.676 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009437/11.89, allocations: 1.52 MB / 3.677 GB, free: 14.68 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 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.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.01876/11.91, allocations: 3.988 MB / 3.681 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001338/11.91, allocations: 413.2 kB / 3.682 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/11.91, allocations: 3.5 kB / 3.682 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005963/11.91, allocations: 274.8 kB / 3.682 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/11.92, allocations: 124.1 kB / 3.682 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.356/16.27, allocations: 0.9684 GB / 4.65 GB, free: 41.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000728/16.27, allocations: 1.007 MB / 4.651 GB, free: 40.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008019/16.27, allocations: 325.4 kB / 4.652 GB, free: 40.39 MB / 0.5417 GB Notification: Performance of SimCode: time 1.693e-06/16.27, allocations: 0 / 4.652 GB, free: 40.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.324/20.6, allocations: 36.7 MB / 4.688 GB, free: 98.61 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat