Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001275/0.001275, allocations: 185 kB / 15.76 MB, free: 6.367 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.822/1.822, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009838/0.0009838, allocations: 86.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2472/0.2472, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003734, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.952/7.149, allocations: 2.752 GB / 3.231 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/7.15, allocations: 87.88 kB / 3.231 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7869/7.936, allocations: 216 MB / 3.442 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.365e-06/7.937, allocations: 0 / 3.442 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.734e-05/7.937, allocations: 3.656 kB / 3.442 GB, free: 92.8 MB / 0.5105 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.009397/7.946, allocations: 1.764 MB / 3.443 GB, free: 91.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/7.946, allocations: 11.88 kB / 3.443 GB, free: 91.87 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/7.946, allocations: 66.03 kB / 3.444 GB, free: 91.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/7.948, allocations: 229.4 kB / 3.444 GB, free: 91.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/7.948, allocations: 274.6 kB / 3.444 GB, free: 91.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/7.948, allocations: 24.94 kB / 3.444 GB, free: 91.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/7.948, allocations: 29.03 kB / 3.444 GB, free: 91.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/7.95, allocations: 0.8034 MB / 3.445 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/7.951, allocations: 7.953 kB / 3.445 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/7.951, allocations: 17.5 kB / 3.445 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/7.951, allocations: 7.188 kB / 3.445 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/7.953, allocations: 0.9213 MB / 3.446 GB, free: 91.45 MB / 0.5105 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.003747/7.956, allocations: 2.777 MB / 3.448 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/7.958, allocations: 371.5 kB / 3.449 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8514/8.809, allocations: 223.3 MB / 3.667 GB, free: 74.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/8.811, allocations: 460.7 kB / 3.667 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.246e-06/8.811, allocations: 0 / 3.667 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.003157/8.814, allocations: 0.7582 MB / 3.668 GB, free: 74.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/8.814, allocations: 379.3 kB / 3.668 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/8.814, allocations: 170.9 kB / 3.669 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/8.814, allocations: 34.55 kB / 3.669 GB, free: 73.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/8.815, allocations: 181.2 kB / 3.669 GB, free: 73.65 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/8.815, allocations: 115.6 kB / 3.669 GB, free: 73.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/8.815, allocations: 10.97 kB / 3.669 GB, free: 73.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000104/8.815, allocations: 330.2 kB / 3.669 GB, free: 73.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/8.815, allocations: 76.98 kB / 3.669 GB, free: 73.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/8.815, allocations: 340.8 kB / 3.67 GB, free: 72.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/8.816, allocations: 124.8 kB / 3.67 GB, free: 72.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/8.816, allocations: 7.953 kB / 3.67 GB, free: 72.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009355/8.817, allocations: 456.4 kB / 3.67 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/8.817, allocations: 13.25 kB / 3.67 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/8.817, allocations: 7.812 kB / 3.67 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/8.817, allocations: 19 kB / 3.67 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/8.817, allocations: 133.2 kB / 3.67 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-05/8.817, allocations: 20.22 kB / 3.67 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/8.818, allocations: 52.06 kB / 3.67 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/8.818, allocations: 40.41 kB / 3.67 GB, free: 72.88 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.0002066/8.818, allocations: 165.5 kB / 3.671 GB, free: 72.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/8.818, allocations: 31.42 kB / 3.671 GB, free: 72.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/8.821, allocations: 2.494 MB / 3.673 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/8.821, allocations: 17.52 kB / 3.673 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/8.821, allocations: 7.969 kB / 3.673 GB, free: 72.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/8.821, allocations: 7.453 kB / 3.673 GB, free: 72.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/8.822, allocations: 0.9321 MB / 3.674 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/8.822, allocations: 3.75 kB / 3.674 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/8.823, allocations: 76.48 kB / 3.674 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/8.823, allocations: 4.344 kB / 3.674 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/8.823, allocations: 14.44 kB / 3.674 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/8.823, allocations: 4.438 kB / 3.674 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/8.823, allocations: 6.562 kB / 3.674 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009812/8.824, allocations: 0.8335 MB / 3.675 GB, free: 71.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/8.824, allocations: 389.5 kB / 3.675 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/8.824, allocations: 10.7 kB / 3.675 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/8.825, allocations: 21.97 kB / 3.675 GB, free: 71.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/8.825, allocations: 32.59 kB / 3.675 GB, free: 71.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/8.825, allocations: 15.22 kB / 3.675 GB, free: 71.49 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000591/8.825, allocations: 0.4952 MB / 3.676 GB, free: 71.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.31e-07/8.825, allocations: 3.875 kB / 3.676 GB, free: 71.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00803/8.833, allocations: 1.52 MB / 3.677 GB, free: 71.29 MB / 0.5261 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.01477/8.848, allocations: 3.979 MB / 3.681 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001079/8.849, allocations: 405.7 kB / 3.682 GB, free: 69.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/8.849, allocations: 7.109 kB / 3.682 GB, free: 69.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004879/8.85, allocations: 274.5 kB / 3.682 GB, free: 69.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009854/8.851, allocations: 134 kB / 3.682 GB, free: 69.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.127/11.98, allocations: 0.9687 GB / 4.651 GB, free: 85.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/11.98, allocations: 1.004 MB / 4.652 GB, free: 84.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008255/11.98, allocations: 471.8 kB / 4.652 GB, free: 84.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/11.98, allocations: 321.3 kB / 4.652 GB, free: 84.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.743e-06/11.98, allocations: 2.406 kB / 4.652 GB, free: 84.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/12.1, allocations: 45.99 MB / 4.697 GB, free: 61 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/12.1, allocations: 201.6 kB / 4.698 GB, free: 60.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.651/15.75, allocations: 0 / 4.698 GB, free: 60.76 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat