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.001493/0.001493, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 96.16 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3237/0.3237, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.515e-05, allocations: 8 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4228, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.325/8.748, allocations: 2.751 GB / 3.217 GB, free: 37.34 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/8.748, allocations: 82.7 kB / 3.217 GB, free: 37.3 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.281/10.03, allocations: 212.4 MB / 3.425 GB, free: 33.71 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.433e-06/10.03, allocations: 0 / 3.425 GB, free: 33.71 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.491e-05/10.03, allocations: 8 kB / 3.425 GB, free: 33.7 MB / 0.4952 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.009025/10.04, allocations: 1.749 MB / 3.426 GB, free: 31.9 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/10.04, allocations: 12.03 kB / 3.426 GB, free: 31.89 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/10.04, allocations: 227.5 kB / 3.426 GB, free: 31.67 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/10.04, allocations: 278.6 kB / 3.427 GB, free: 31.36 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/10.04, allocations: 11.98 kB / 3.427 GB, free: 31.34 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/10.04, allocations: 20 kB / 3.427 GB, free: 31.32 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009945/10.04, allocations: 0.5168 MB / 3.427 GB, free: 30.8 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006714/10.04, allocations: 385.4 kB / 3.428 GB, free: 30.38 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/10.04, allocations: 0 / 3.428 GB, free: 30.38 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/10.04, allocations: 0 / 3.428 GB, free: 30.38 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/10.04, allocations: 12 kB / 3.428 GB, free: 30.37 MB / 0.4952 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 1.341/11.38, allocations: 217 MB / 3.64 GB, free: 6.836 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/11.38, allocations: 36.77 kB / 3.64 GB, free: 6.797 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/11.38, allocations: 16.11 kB / 3.64 GB, free: 6.781 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.57/11.95, allocations: 45.86 MB / 3.684 GB, free: 97.72 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/11.95, allocations: 112.9 kB / 3.685 GB, free: 97.64 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=10): time 2.906e-06/11.95, allocations: 3.812 kB / 3.685 GB, free: 97.64 MB / 0.5265 GB Notification: Performance of matching and sorting (n=10): time 0.002257/11.96, allocations: 383.5 kB / 3.685 GB, free: 97.61 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/11.96, allocations: 132.4 kB / 3.685 GB, free: 97.45 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/11.96, allocations: 232 kB / 3.685 GB, free: 97.36 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/11.96, allocations: 25.7 kB / 3.685 GB, free: 97.32 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/11.96, allocations: 320.2 kB / 3.686 GB, free: 97.09 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/11.96, allocations: 44.28 kB / 3.686 GB, free: 97.07 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/11.96, allocations: 0 / 3.686 GB, free: 97.07 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/11.96, allocations: 331.5 kB / 3.686 GB, free: 96.76 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/11.96, allocations: 65.77 kB / 3.686 GB, free: 96.76 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/11.96, allocations: 319.2 kB / 3.686 GB, free: 96.43 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009672/11.96, allocations: 147.8 kB / 3.686 GB, free: 96.43 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/11.96, allocations: 7.406 kB / 3.686 GB, free: 96.43 MB / 0.5265 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001724/11.96, allocations: 415.6 kB / 3.687 GB, free: 96.39 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/11.96, allocations: 15.12 kB / 3.687 GB, free: 96.39 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/11.96, allocations: 7.781 kB / 3.687 GB, free: 96.39 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-05/11.96, allocations: 15.12 kB / 3.687 GB, free: 96.39 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007929/11.96, allocations: 132.9 kB / 3.687 GB, free: 96.39 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/11.96, allocations: 22.23 kB / 3.687 GB, free: 96.39 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008873/11.96, allocations: 63.33 kB / 3.687 GB, free: 96.37 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.389e-05/11.96, allocations: 42.73 kB / 3.687 GB, free: 96.37 MB / 0.5265 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,state_h_is.phase,state.phase,medium.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.0001603/11.96, allocations: 131.2 kB / 3.687 GB, free: 96.26 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003289/11.96, allocations: 94.98 kB / 3.687 GB, free: 96.22 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/11.96, allocations: 26.02 kB / 3.687 GB, free: 96.21 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/11.96, allocations: 280.2 kB / 3.688 GB, free: 96.15 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/11.96, allocations: 0 / 3.688 GB, free: 96.15 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/11.96, allocations: 3.969 kB / 3.688 GB, free: 96.15 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/11.96, allocations: 0 / 3.688 GB, free: 96.15 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008111/11.96, allocations: 0.6079 MB / 3.688 GB, free: 95.76 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/11.96, allocations: 3.938 kB / 3.688 GB, free: 95.76 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/11.97, allocations: 16.22 kB / 3.688 GB, free: 95.76 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/11.97, allocations: 3.969 kB / 3.688 GB, free: 95.76 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/11.97, allocations: 7.531 kB / 3.688 GB, free: 95.76 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/11.97, allocations: 5.625 kB / 3.688 GB, free: 95.76 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/11.97, allocations: 3.969 kB / 3.688 GB, free: 95.76 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/11.97, allocations: 333.2 kB / 3.689 GB, free: 95.44 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/11.97, allocations: 153.4 kB / 3.689 GB, free: 95.33 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/11.97, allocations: 3.656 kB / 3.689 GB, free: 95.33 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/11.97, allocations: 19.56 kB / 3.689 GB, free: 95.32 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/11.97, allocations: 4.969 kB / 3.689 GB, free: 95.32 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/11.97, allocations: 14.83 kB / 3.689 GB, free: 95.32 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0003483/11.97, allocations: 256.5 kB / 3.689 GB, free: 95.24 MB / 0.5265 GB Notification: Performance of sort global known variables: time 3.71e-07/11.97, allocations: 0 / 3.689 GB, free: 95.24 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.008004/11.97, allocations: 1.483 MB / 3.69 GB, free: 95.23 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.01606/11.99, allocations: 3.147 MB / 3.694 GB, free: 93.9 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.0006475/11.99, allocations: 189.8 kB / 3.694 GB, free: 93.9 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/11.99, allocations: 7.406 kB / 3.694 GB, free: 93.9 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 5.854e-05/11.99, allocations: 19.47 kB / 3.694 GB, free: 93.9 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/11.99, allocations: 40.69 kB / 3.694 GB, free: 93.9 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006501/12, allocations: 0.9826 MB / 3.695 GB, free: 93.48 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/12, allocations: 0.7771 MB / 3.695 GB, free: 92.79 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/12, allocations: 145.9 kB / 3.696 GB, free: 92.78 MB / 0.5265 GB Notification: Performance of SimCode: time 1.443e-06/12, allocations: 2.281 kB / 3.696 GB, free: 92.78 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.742/15.74, allocations: 34.49 MB / 3.729 GB, free: 89.07 MB / 0.5265 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