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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009381/0.0009381, allocations: 95.64 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001128, allocations: 186.9 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.216/0.216, allocations: 44.23 MB / 337.1 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1495, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0144/0.164, allocations: 11.78 MB / 483.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02626/0.1903, allocations: 22.4 MB / 0.4939 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.1906, allocations: 8 kB / 0.4939 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.1911, allocations: 79.62 kB / 0.494 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02347/0.2146, allocations: 6.731 MB / 0.5005 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009383/0.2155, allocations: 303 kB / 0.5008 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005291/0.2208, allocations: 3.042 MB / 0.5038 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.2209, allocations: 16.41 kB / 0.5038 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006686/0.2216, allocations: 290.9 kB / 0.5041 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.27/0.4916, allocations: 5.567 MB / 0.5095 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.169e-05/0.4917, allocations: 7.906 kB / 0.5095 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02435/0.5161, allocations: 10.7 MB / 0.52 GB, free: 16.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.5162, allocations: 51.38 kB / 0.52 GB, free: 16.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.5164, allocations: 72.11 kB / 0.5201 GB, free: 16.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.5286, allocations: 4.21 MB / 0.5242 GB, free: 16.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5286, allocations: 2.906 kB / 0.5242 GB, free: 16.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5286, allocations: 0 / 0.5242 GB, free: 16.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.5286, allocations: 0 / 0.5242 GB, free: 16.16 MB / 382.1 MB 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.004998/0.5336, allocations: 1.495 MB / 0.5257 GB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.5337, allocations: 10.28 kB / 0.5257 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.692e-05/0.5338, allocations: 69.78 kB / 0.5257 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.5354, allocations: 228 kB / 0.526 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.5357, allocations: 278.9 kB / 0.5262 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.5358, allocations: 21 kB / 0.5262 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.5358, allocations: 31.31 kB / 0.5263 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.5379, allocations: 0.8247 MB / 0.5271 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.538, allocations: 4.578 kB / 0.5271 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.538, allocations: 17.25 kB / 0.5271 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.538, allocations: 8.062 kB / 0.5271 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.5402, allocations: 0.9443 MB / 0.528 GB, free: 14.24 MB / 382.1 MB 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.002682/0.5429, allocations: 2.577 MB / 0.5305 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.5442, allocations: 385.2 kB / 0.5309 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8611/1.405, allocations: 227.2 MB / 0.7528 GB, free: 185.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/1.407, allocations: 472.5 kB / 0.7532 GB, free: 184.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 4.288e-06/1.407, allocations: 0 / 0.7532 GB, free: 184.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002875/1.41, allocations: 0.783 MB / 0.754 GB, free: 184.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.41, allocations: 368.5 kB / 0.7543 GB, free: 183.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/1.41, allocations: 191.4 kB / 0.7545 GB, free: 183.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/1.41, allocations: 36.88 kB / 0.7545 GB, free: 183.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/1.41, allocations: 177.2 kB / 0.7547 GB, free: 183.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/1.41, allocations: 118.4 kB / 0.7548 GB, free: 183.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/1.41, allocations: 8 kB / 0.7548 GB, free: 183.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.1e-05/1.41, allocations: 326.8 kB / 0.7551 GB, free: 182.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/1.411, allocations: 85.05 kB / 0.7552 GB, free: 182.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/1.411, allocations: 336.7 kB / 0.7555 GB, free: 182.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/1.411, allocations: 131.1 kB / 0.7557 GB, free: 182.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.411, allocations: 4 kB / 0.7557 GB, free: 182.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007755/1.412, allocations: 467.3 kB / 0.7561 GB, free: 181.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.412, allocations: 14.34 kB / 0.7561 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.412, allocations: 9.719 kB / 0.7561 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/1.412, allocations: 14.58 kB / 0.7562 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/1.412, allocations: 143.8 kB / 0.7563 GB, free: 181.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/1.412, allocations: 23.92 kB / 0.7563 GB, free: 181.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/1.413, allocations: 49.83 kB / 0.7564 GB, free: 181.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/1.413, allocations: 47.97 kB / 0.7564 GB, free: 181.5 MB / 0.545 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.phase,state_h_is.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.0001723/1.413, allocations: 157.6 kB / 0.7566 GB, free: 181.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/1.413, allocations: 27.77 kB / 0.7566 GB, free: 181.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/1.415, allocations: 2.665 MB / 0.7592 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/1.416, allocations: 20.02 kB / 0.7592 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.416, allocations: 5.25 kB / 0.7592 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/1.416, allocations: 7.984 kB / 0.7592 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009338/1.417, allocations: 0.926 MB / 0.7601 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.417, allocations: 6.531 kB / 0.7601 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/1.417, allocations: 71.88 kB / 0.7602 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/1.417, allocations: 13.81 kB / 0.7602 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/1.417, allocations: 11.98 kB / 0.7602 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/1.417, allocations: 4 kB / 0.7602 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.417, allocations: 9 kB / 0.7602 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007908/1.418, allocations: 0.8263 MB / 0.761 GB, free: 176.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/1.418, allocations: 390.6 kB / 0.7614 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.418, allocations: 12 kB / 0.7614 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/1.419, allocations: 19.98 kB / 0.7614 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/1.419, allocations: 24.78 kB / 0.7615 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/1.419, allocations: 19.98 kB / 0.7615 GB, free: 176.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005269/1.419, allocations: 0.4923 MB / 0.762 GB, free: 175.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/1.419, allocations: 4 kB / 0.762 GB, free: 175.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006288/1.425, allocations: 1.527 MB / 0.7635 GB, free: 174.2 MB / 0.545 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 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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.01085/1.436, allocations: 3.827 MB / 0.7672 GB, free: 170.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009774/1.437, allocations: 413.4 kB / 0.7676 GB, free: 170 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.437, allocations: 0.75 kB / 0.7676 GB, free: 170 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004098/1.438, allocations: 280.7 kB / 0.7679 GB, free: 169.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/1.439, allocations: 127.9 kB / 0.768 GB, free: 169.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009445/1.448, allocations: 10.48 MB / 0.7782 GB, free: 159.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/1.449, allocations: 1.001 MB / 0.7792 GB, free: 158.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009451/1.45, allocations: 0.5239 MB / 0.7797 GB, free: 157.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/1.45, allocations: 319.3 kB / 0.78 GB, free: 157.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.713e-06/1.45, allocations: 0 / 0.78 GB, free: 157.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/1.552, allocations: 64.12 MB / 0.8426 GB, free: 93.32 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/1.553, allocations: 215.8 kB / 0.8428 GB, free: 93.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.017/7.57, allocations: 0 / 0.8428 GB, free: 93.07 MB / 0.545 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