Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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) 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.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_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.001544/0.001549, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001174/0.001174, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.31e-05/4.324e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 47.57 MB / 369.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.513/8.62, allocations: 2.742 GB / 3.102 GB, free: 19.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/8.62, allocations: 97.12 kB / 3.102 GB, free: 19.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.431/11.05, allocations: 427 MB / 3.519 GB, free: 43.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/11.05, allocations: 0 / 3.519 GB, free: 43.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.81e-05/11.05, allocations: 13.69 kB / 3.519 GB, free: 43.86 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.005782/11.06, allocations: 1.212 MB / 3.52 GB, free: 43.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/11.06, allocations: 14.72 kB / 3.52 GB, free: 43.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/11.06, allocations: 66.48 kB / 3.521 GB, free: 43.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/11.06, allocations: 166 kB / 3.521 GB, free: 43.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/11.06, allocations: 319.1 kB / 3.521 GB, free: 42.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/11.06, allocations: 22.88 kB / 3.521 GB, free: 42.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/11.06, allocations: 30.59 kB / 3.521 GB, free: 42.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/11.06, allocations: 0.5419 MB / 3.522 GB, free: 42.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/11.06, allocations: 5.938 kB / 3.522 GB, free: 42.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/11.06, allocations: 15.88 kB / 3.522 GB, free: 42.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/11.06, allocations: 7.812 kB / 3.522 GB, free: 42.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009128/11.06, allocations: 328.5 kB / 3.522 GB, free: 42.38 MB / 426.7 MB 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 0.004006/11.07, allocations: 2.567 MB / 3.524 GB, free: 40.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008261/11.07, allocations: 286.2 kB / 3.525 GB, free: 40.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/11.07, allocations: 108.8 kB / 3.525 GB, free: 40.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1021/11.17, allocations: 30.88 MB / 3.555 GB, free: 21.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.316e-05/11.17, allocations: 42.47 kB / 3.555 GB, free: 21.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.836e-06/11.17, allocations: 0 / 3.555 GB, free: 21.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.00488/11.18, allocations: 1.084 MB / 3.556 GB, free: 20.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/11.18, allocations: 54.69 kB / 3.556 GB, free: 20.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/11.18, allocations: 237.2 kB / 3.556 GB, free: 20.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/11.18, allocations: 29.7 kB / 3.556 GB, free: 20.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/11.18, allocations: 248.5 kB / 3.557 GB, free: 20.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/11.18, allocations: 107.2 kB / 3.557 GB, free: 20.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/11.18, allocations: 8 kB / 3.557 GB, free: 20.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.508e-05/11.18, allocations: 329.1 kB / 3.557 GB, free: 19.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/11.18, allocations: 90.53 kB / 3.557 GB, free: 19.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/11.18, allocations: 210.9 kB / 3.557 GB, free: 19.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/11.18, allocations: 123.9 kB / 3.557 GB, free: 19.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/11.18, allocations: 7.875 kB / 3.557 GB, free: 19.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001155/11.18, allocations: 405.7 kB / 3.558 GB, free: 19.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/11.18, allocations: 7.688 kB / 3.558 GB, free: 19.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/11.18, allocations: 7.156 kB / 3.558 GB, free: 19.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/11.18, allocations: 55.84 kB / 3.558 GB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/11.18, allocations: 91.8 kB / 3.558 GB, free: 19.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/11.18, allocations: 2.424 MB / 3.56 GB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/11.18, allocations: 31.2 kB / 3.56 GB, free: 16.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/11.18, allocations: 21.41 kB / 3.56 GB, free: 16.72 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001913/11.18, allocations: 128.8 kB / 3.561 GB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/11.18, allocations: 31.52 kB / 3.561 GB, free: 16.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/11.18, allocations: 0.867 MB / 3.561 GB, free: 16.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/11.18, allocations: 7.703 kB / 3.561 GB, free: 16.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/11.18, allocations: 0 / 3.561 GB, free: 16.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001856/11.19, allocations: 1.04 MB / 3.562 GB, free: 31.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/11.19, allocations: 1.489 MB / 3.564 GB, free: 30.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/11.19, allocations: 0 / 3.564 GB, free: 30.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/11.19, allocations: 58.53 kB / 3.564 GB, free: 30.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/11.19, allocations: 70.48 kB / 3.564 GB, free: 30.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/11.19, allocations: 7.031 kB / 3.564 GB, free: 30.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000539/11.19, allocations: 0.5978 MB / 3.565 GB, free: 29.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/11.19, allocations: 0 / 3.565 GB, free: 29.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/11.19, allocations: 0.81 MB / 3.565 GB, free: 29.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/11.19, allocations: 135.4 kB / 3.566 GB, free: 29.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.047e-05/11.19, allocations: 7.969 kB / 3.566 GB, free: 29.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/11.19, allocations: 42.33 kB / 3.566 GB, free: 29.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/11.19, allocations: 32.2 kB / 3.566 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/11.19, allocations: 17.17 kB / 3.566 GB, free: 29.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003924/11.19, allocations: 231.5 kB / 3.566 GB, free: 29.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/11.19, allocations: 4 kB / 3.566 GB, free: 29.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00547/11.2, allocations: 0.8889 MB / 3.567 GB, free: 29.05 MB / 442.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.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01164/11.21, allocations: 2.572 MB / 3.569 GB, free: 27.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001554/11.21, allocations: 488.1 kB / 3.57 GB, free: 27.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/11.21, allocations: 0 / 3.57 GB, free: 27.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005332/11.21, allocations: 254 kB / 3.57 GB, free: 27.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/11.21, allocations: 186.2 kB / 3.57 GB, free: 27.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/11.22, allocations: 1.132 MB / 3.571 GB, free: 26.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/11.22, allocations: 0.8287 MB / 3.572 GB, free: 26.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/11.22, allocations: 146.2 kB / 3.572 GB, free: 26.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.362e-06/11.22, allocations: 0 / 3.572 GB, free: 26.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.6/14.82, allocations: 27.86 MB / 3.599 GB, free: 12.84 MB / 442.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat