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.001049/0.001049, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0009249/0.0009251, allocations: 100.4 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.217/0.217, allocations: 44.15 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/1.987e-05, allocations: 4 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1429, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.408/7.551, allocations: 2.756 GB / 3.251 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/7.551, allocations: 81.92 kB / 3.251 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8923/8.443, allocations: 214.5 MB / 3.461 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.906e-06/8.444, allocations: 4 kB / 3.461 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.068e-05/8.444, allocations: 8 kB / 3.461 GB, free: 4.297 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.01128/8.455, allocations: 1.754 MB / 3.462 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/8.455, allocations: 11.98 kB / 3.462 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/8.457, allocations: 227.8 kB / 3.463 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/8.457, allocations: 286.3 kB / 3.463 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/8.457, allocations: 16 kB / 3.463 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.595e-05/8.457, allocations: 16 kB / 3.463 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006949/8.458, allocations: 0.5207 MB / 3.464 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/8.459, allocations: 377.5 kB / 3.464 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/8.459, allocations: 4 kB / 3.464 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/8.459, allocations: 4 kB / 3.464 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/8.459, allocations: 8 kB / 3.464 GB, free: 0.9648 MB / 0.5105 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.477/9.936, allocations: 216.8 MB / 3.676 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/9.936, allocations: 37.84 kB / 3.676 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/9.936, allocations: 22.55 kB / 3.676 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1172/10.05, allocations: 45.87 MB / 3.721 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003473/10.05, allocations: 113 kB / 3.721 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 5.691e-06/10.05, allocations: 3.844 kB / 3.721 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.00208/10.06, allocations: 380.7 kB / 3.721 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/10.06, allocations: 136.3 kB / 3.721 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/10.06, allocations: 227.6 kB / 3.721 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/10.06, allocations: 28.7 kB / 3.721 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/10.06, allocations: 255.7 kB / 3.722 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/10.06, allocations: 38.58 kB / 3.722 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/10.06, allocations: 1.75 kB / 3.722 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001138/10.06, allocations: 330.2 kB / 3.722 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/10.06, allocations: 57.95 kB / 3.722 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/10.06, allocations: 326.9 kB / 3.722 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/10.06, allocations: 142.9 kB / 3.722 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/10.06, allocations: 3.812 kB / 3.722 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001364/10.06, allocations: 420.6 kB / 3.723 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/10.06, allocations: 10.41 kB / 3.723 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/10.06, allocations: 6.969 kB / 3.723 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/10.06, allocations: 15.44 kB / 3.723 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/10.06, allocations: 142.8 kB / 3.723 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/10.06, allocations: 15.91 kB / 3.723 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/10.06, allocations: 63.48 kB / 3.723 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-05/10.06, allocations: 42.39 kB / 3.723 GB, free: 103.4 MB / 0.5573 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.0001668/10.06, allocations: 126.7 kB / 3.723 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002451/10.06, allocations: 100.4 kB / 3.723 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/10.06, allocations: 25.84 kB / 3.723 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/10.06, allocations: 283.2 kB / 3.724 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/10.06, allocations: 3.953 kB / 3.724 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/10.06, allocations: 0 / 3.724 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/10.06, allocations: 4.969 kB / 3.724 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007806/10.06, allocations: 0.6087 MB / 3.724 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/10.06, allocations: 0 / 3.724 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/10.06, allocations: 26.48 kB / 3.724 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/10.06, allocations: 0 / 3.724 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/10.06, allocations: 4.375 kB / 3.724 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/10.06, allocations: 5.406 kB / 3.724 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/10.06, allocations: 0 / 3.724 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/10.06, allocations: 339.5 kB / 3.725 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/10.06, allocations: 146.3 kB / 3.725 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-05/10.06, allocations: 7 kB / 3.725 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/10.06, allocations: 7.469 kB / 3.725 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/10.06, allocations: 19.64 kB / 3.725 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/10.06, allocations: 2.688 kB / 3.725 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002857/10.06, allocations: 266.3 kB / 3.725 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/10.06, allocations: 0 / 3.725 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00806/10.07, allocations: 1.486 MB / 3.726 GB, free: 102.2 MB / 0.5573 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.01539/10.09, allocations: 3.147 MB / 3.73 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005667/10.09, allocations: 187.3 kB / 3.73 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/10.09, allocations: 6.969 kB / 3.73 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.04e-05/10.09, allocations: 30.91 kB / 3.73 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/10.09, allocations: 46.72 kB / 3.73 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006512/10.1, allocations: 0.9583 MB / 3.731 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/10.1, allocations: 0.7841 MB / 3.732 GB, free: 99.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001398/10.1, allocations: 1.03 MB / 3.733 GB, free: 99.69 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/10.1, allocations: 124.9 kB / 3.733 GB, free: 99.68 MB / 0.5573 GB Notification: Performance of SimCode: time 1.353e-06/10.1, allocations: 0 / 3.733 GB, free: 99.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08868/10.19, allocations: 37.17 MB / 3.769 GB, free: 97.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/10.19, allocations: 169.6 kB / 3.769 GB, free: 97.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.436/13.62, allocations: 0 / 3.769 GB, free: 97.3 MB / 0.5573 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