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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000921/0.000921, allocations: 96.39 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 173.2 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 222.8 MB, free: 5.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3154/0.3154, allocations: 43.54 MB / 314.6 MB, free: 8.84 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005064, allocations: 16 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01312/0.1215, allocations: 12.81 MB / 455.7 MB, free: 92 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2058/0.3273, allocations: 24.59 MB / 480.3 MB, free: 28.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.3276, allocations: 2.812 kB / 480.3 MB, free: 28.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.3279, allocations: 79.84 kB / 480.4 MB, free: 28.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01739/0.3453, allocations: 6.552 MB / 486.9 MB, free: 25.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3465, allocations: 308.8 kB / 487.2 MB, free: 25.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005647/0.3521, allocations: 3.196 MB / 490.4 MB, free: 25.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.01e-05/0.3522, allocations: 23.48 kB / 490.4 MB, free: 25.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005915/0.3528, allocations: 254.3 kB / 490.7 MB, free: 24.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.3632, allocations: 5.663 MB / 496.3 MB, free: 24.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.661e-05/0.3634, allocations: 8.25 kB / 496.4 MB, free: 24.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02803/0.3914, allocations: 10.36 MB / 0.4948 GB, free: 21.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3916, allocations: 47.34 kB / 0.4949 GB, free: 21.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.3918, allocations: 79.52 kB / 0.495 GB, free: 21.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009544/0.4013, allocations: 4.221 MB / 0.4991 GB, free: 20.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4013, allocations: 0 / 0.4991 GB, free: 20.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4014, allocations: 1.719 kB / 0.4991 GB, free: 20.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.4014, allocations: 4 kB / 0.4991 GB, free: 20.41 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.006288/0.4077, allocations: 1.486 MB / 0.5005 GB, free: 19.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4077, allocations: 9.594 kB / 0.5005 GB, free: 19.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.693e-05/0.4078, allocations: 68.88 kB / 0.5006 GB, free: 19.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.4096, allocations: 221.1 kB / 0.5008 GB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.41, allocations: 274.9 kB / 0.5011 GB, free: 18.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.41, allocations: 20.88 kB / 0.5011 GB, free: 18.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.4101, allocations: 32.91 kB / 0.5011 GB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.4122, allocations: 0.8273 MB / 0.5019 GB, free: 18.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4122, allocations: 3.938 kB / 0.5019 GB, free: 18.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.4123, allocations: 13.03 kB / 0.502 GB, free: 18.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.4123, allocations: 14.05 kB / 0.502 GB, free: 18.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.4145, allocations: 0.9419 MB / 0.5029 GB, free: 17.93 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.002632/0.4171, allocations: 2.592 MB / 0.5054 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.4183, allocations: 387 kB / 0.5058 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.4185, allocations: 73.27 kB / 0.5059 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7291/1.148, allocations: 227.1 MB / 0.7276 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/1.149, allocations: 471.5 kB / 0.7281 GB, free: 102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/1.149, allocations: 0 / 0.7281 GB, free: 102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.00272/1.152, allocations: 0.7746 MB / 0.7288 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/1.152, allocations: 373.2 kB / 0.7292 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/1.152, allocations: 178.4 kB / 0.7294 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/1.152, allocations: 33.83 kB / 0.7294 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/1.152, allocations: 190.9 kB / 0.7296 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/1.152, allocations: 112.5 kB / 0.7297 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/1.152, allocations: 11.56 kB / 0.7297 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.824e-05/1.152, allocations: 334.7 kB / 0.73 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/1.152, allocations: 77.12 kB / 0.7301 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/1.153, allocations: 342.2 kB / 0.7304 GB, free: 99.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/1.153, allocations: 126.9 kB / 0.7305 GB, free: 99.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.153, allocations: 4 kB / 0.7305 GB, free: 99.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007181/1.154, allocations: 470.8 kB / 0.731 GB, free: 99.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.154, allocations: 8 kB / 0.731 GB, free: 99.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.154, allocations: 9.922 kB / 0.731 GB, free: 99.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.154, allocations: 18.92 kB / 0.731 GB, free: 99.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/1.154, allocations: 144.4 kB / 0.7312 GB, free: 98.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.154, allocations: 15.94 kB / 0.7312 GB, free: 98.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/1.154, allocations: 55.52 kB / 0.7312 GB, free: 98.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/1.155, allocations: 40.2 kB / 0.7313 GB, free: 98.77 MB / 0.4981 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.0001275/1.155, allocations: 165.6 kB / 0.7314 GB, free: 98.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/1.155, allocations: 30.39 kB / 0.7314 GB, free: 98.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/1.157, allocations: 2.655 MB / 0.734 GB, free: 95.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/1.157, allocations: 20.72 kB / 0.7341 GB, free: 95.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.157, allocations: 4 kB / 0.7341 GB, free: 95.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.157, allocations: 4 kB / 0.7341 GB, free: 95.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007906/1.158, allocations: 0.9298 MB / 0.735 GB, free: 94.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.158, allocations: 4.375 kB / 0.735 GB, free: 94.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/1.158, allocations: 84.42 kB / 0.7351 GB, free: 94.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/1.158, allocations: 7.953 kB / 0.7351 GB, free: 94.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/1.158, allocations: 8 kB / 0.7351 GB, free: 94.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/1.158, allocations: 15.88 kB / 0.7351 GB, free: 94.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.158, allocations: 0.6875 kB / 0.7351 GB, free: 94.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/1.159, allocations: 0.6931 MB / 0.7358 GB, free: 94.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/1.159, allocations: 382.8 kB / 0.7361 GB, free: 93.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/1.159, allocations: 11.95 kB / 0.7361 GB, free: 93.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/1.159, allocations: 27.88 kB / 0.7362 GB, free: 93.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/1.159, allocations: 31.91 kB / 0.7362 GB, free: 93.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/1.16, allocations: 20.8 kB / 0.7362 GB, free: 93.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004634/1.16, allocations: 0.4962 MB / 0.7367 GB, free: 93.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/1.16, allocations: 0 / 0.7367 GB, free: 93.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007846/1.168, allocations: 1.514 MB / 0.7382 GB, free: 91.68 MB / 0.4981 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.01101/1.179, allocations: 2.852 MB / 0.741 GB, free: 88.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008063/1.18, allocations: 407.3 kB / 0.7414 GB, free: 88.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.18, allocations: 4.062 kB / 0.7414 GB, free: 88.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/1.18, allocations: 280.7 kB / 0.7416 GB, free: 88.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008321/1.181, allocations: 134.9 kB / 0.7418 GB, free: 88.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.499/2.68, allocations: 0.6015 GB / 1.343 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/2.68, allocations: 0.9858 MB / 1.344 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007869/2.681, allocations: 0.5207 MB / 1.345 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/2.681, allocations: 327.3 kB / 1.345 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of SimCode: time 1.313e-06/2.681, allocations: 4 kB / 1.345 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3711/3.053, allocations: 64.09 MB / 1.408 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/3.053, allocations: 202 kB / 1.408 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.703/8.755, allocations: 0 / 1.408 GB, free: 142.7 MB / 0.4981 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) Environment - environmentSimulation: 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