Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",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.001355/0.001355, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.558/1.558, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009554/0.0009554, allocations: 102 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 4 kB / 328.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 47.58 MB / 375.9 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.019/6.307, allocations: 2.74 GB / 3.107 GB, free: 56.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/6.307, allocations: 96.44 kB / 3.107 GB, free: 56.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9334/7.24, allocations: 295.5 MB / 3.396 GB, free: 61.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.342e-06/7.241, allocations: 3.562 kB / 3.396 GB, free: 61.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/7.241, allocations: 3.844 kB / 3.396 GB, free: 61.07 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00244/7.243, allocations: 0.9508 MB / 3.397 GB, free: 60.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/7.243, allocations: 11.66 kB / 3.397 GB, free: 60.48 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.66e-05/7.243, allocations: 68 kB / 3.397 GB, free: 60.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006911/7.244, allocations: 84.59 kB / 3.397 GB, free: 60.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/7.244, allocations: 309.1 kB / 3.397 GB, free: 60.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/7.244, allocations: 24.31 kB / 3.397 GB, free: 60.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/7.244, allocations: 27.59 kB / 3.397 GB, free: 60.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/7.245, allocations: 440.8 kB / 3.398 GB, free: 59.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/7.245, allocations: 3.156 kB / 3.398 GB, free: 59.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/7.245, allocations: 18.66 kB / 3.398 GB, free: 59.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/7.245, allocations: 7.875 kB / 3.398 GB, free: 59.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/7.245, allocations: 314 kB / 3.398 GB, free: 59.77 MB / 426.7 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.002011/7.247, allocations: 2.623 MB / 3.401 GB, free: 57.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/7.248, allocations: 254.1 kB / 3.401 GB, free: 57.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02561/7.274, allocations: 15.34 MB / 3.416 GB, free: 47.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/7.274, allocations: 30.56 kB / 3.416 GB, free: 47.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.385e-06/7.274, allocations: 4 kB / 3.416 GB, free: 47.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.003922/7.278, allocations: 1.297 MB / 3.417 GB, free: 47.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/7.278, allocations: 55.34 kB / 3.417 GB, free: 46.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/7.278, allocations: 238.5 kB / 3.417 GB, free: 46.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/7.278, allocations: 35.25 kB / 3.417 GB, free: 46.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/7.278, allocations: 193.4 kB / 3.418 GB, free: 46.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/7.278, allocations: 109 kB / 3.418 GB, free: 46.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/7.278, allocations: 11 kB / 3.418 GB, free: 46.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.931e-05/7.278, allocations: 341.5 kB / 3.418 GB, free: 46.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/7.278, allocations: 100.8 kB / 3.418 GB, free: 46.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/7.278, allocations: 212.1 kB / 3.418 GB, free: 46.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/7.279, allocations: 133 kB / 3.418 GB, free: 45.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/7.279, allocations: 0 / 3.418 GB, free: 45.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006046/7.279, allocations: 442.6 kB / 3.419 GB, free: 45.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/7.279, allocations: 7.859 kB / 3.419 GB, free: 45.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/7.279, allocations: 7.406 kB / 3.419 GB, free: 45.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003719/7.283, allocations: 264.9 kB / 3.419 GB, free: 45.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/7.283, allocations: 80.61 kB / 3.419 GB, free: 45.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/7.284, allocations: 1.879 MB / 3.421 GB, free: 43.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/7.285, allocations: 26.34 kB / 3.421 GB, free: 43.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/7.285, allocations: 18.44 kB / 3.421 GB, free: 43.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001663/7.285, allocations: 172.1 kB / 3.421 GB, free: 43.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/7.285, allocations: 31.38 kB / 3.421 GB, free: 43.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008643/7.286, allocations: 0.9401 MB / 3.422 GB, free: 43.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/7.286, allocations: 11.22 kB / 3.422 GB, free: 43.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/7.286, allocations: 0 / 3.422 GB, free: 43.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007399/7.287, allocations: 1.117 MB / 3.423 GB, free: 42.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/7.288, allocations: 1.593 MB / 3.425 GB, free: 41.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/7.288, allocations: 3.75 kB / 3.425 GB, free: 41.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/7.288, allocations: 46.62 kB / 3.425 GB, free: 41.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/7.29, allocations: 290.4 kB / 3.425 GB, free: 41.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/7.29, allocations: 7.438 kB / 3.425 GB, free: 41.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003849/7.29, allocations: 0.668 MB / 3.426 GB, free: 40.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/7.29, allocations: 3.391 kB / 3.426 GB, free: 40.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009295/7.291, allocations: 0.9548 MB / 3.427 GB, free: 40.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/7.291, allocations: 141.9 kB / 3.427 GB, free: 40.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/7.292, allocations: 8 kB / 3.427 GB, free: 40.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/7.292, allocations: 18.19 kB / 3.427 GB, free: 40.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/7.292, allocations: 14.48 kB / 3.427 GB, free: 40.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/7.292, allocations: 18.52 kB / 3.427 GB, free: 40.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001932/7.292, allocations: 235 kB / 3.427 GB, free: 39.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/7.292, allocations: 4 kB / 3.427 GB, free: 39.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002861/7.295, allocations: 0.5443 MB / 3.428 GB, free: 39.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003215/7.298, allocations: 2.247 MB / 3.43 GB, free: 38.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006917/7.299, allocations: 0.5219 MB / 3.43 GB, free: 38.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/7.299, allocations: 0 / 3.43 GB, free: 38.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003392/7.299, allocations: 295.6 kB / 3.431 GB, free: 38.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008293/7.3, allocations: 177.6 kB / 3.431 GB, free: 38.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/7.303, allocations: 4.941 MB / 3.436 GB, free: 34.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/7.304, allocations: 0.8331 MB / 3.436 GB, free: 33.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003007/7.304, allocations: 108 kB / 3.437 GB, free: 33.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/7.304, allocations: 140.9 kB / 3.437 GB, free: 33.55 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/7.304, allocations: 0 / 3.437 GB, free: 33.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04332/7.347, allocations: 27.37 MB / 3.463 GB, free: 22.97 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00013/7.348, allocations: 222.6 kB / 3.464 GB, free: 22.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/10.03, allocations: 0 / 3.464 GB, free: 22.73 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat