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.002365/0.002365, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.931/1.931, allocations: 205.4 MB / 222.5 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.001112/0.001112, allocations: 93.48 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003996, allocations: 15.98 kB / 327.1 MB, free: 88 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 47.56 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.068/8.401, allocations: 2.742 GB / 3.108 GB, free: 51.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/8.401, allocations: 99.98 kB / 3.108 GB, free: 51.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.47/10.87, allocations: 428.3 MB / 3.526 GB, free: 49.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.028e-06/10.87, allocations: 3.375 kB / 3.526 GB, free: 49.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.491e-05/10.87, allocations: 9.594 kB / 3.526 GB, free: 49.73 MB / 442.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.007354/10.88, allocations: 1.243 MB / 3.527 GB, free: 49.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.6e-05/10.88, allocations: 9.656 kB / 3.527 GB, free: 49.18 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002324/10.88, allocations: 67.5 kB / 3.527 GB, free: 49.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003376/10.88, allocations: 169.2 kB / 3.527 GB, free: 49.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/10.88, allocations: 312.4 kB / 3.528 GB, free: 48.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.773e-05/10.88, allocations: 23.88 kB / 3.528 GB, free: 48.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/10.88, allocations: 32.91 kB / 3.528 GB, free: 48.92 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/10.89, allocations: 0.5261 MB / 3.528 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.233e-05/10.89, allocations: 0 / 3.528 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/10.89, allocations: 12.81 kB / 3.528 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/10.89, allocations: 11.53 kB / 3.528 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/10.89, allocations: 322.5 kB / 3.529 GB, free: 48.8 MB / 442.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.006403/10.9, allocations: 2.574 MB / 3.531 GB, free: 46.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/10.9, allocations: 275.6 kB / 3.531 GB, free: 46.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1304/11.03, allocations: 30.74 MB / 3.561 GB, free: 28.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/11.03, allocations: 37.94 kB / 3.561 GB, free: 28.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 2.494e-06/11.03, allocations: 0 / 3.561 GB, free: 28.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.005016/11.03, allocations: 1.219 MB / 3.563 GB, free: 28.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/11.03, allocations: 53.62 kB / 3.563 GB, free: 28.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/11.03, allocations: 230.8 kB / 3.563 GB, free: 28.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/11.03, allocations: 35.92 kB / 3.563 GB, free: 28.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/11.03, allocations: 249.9 kB / 3.563 GB, free: 27.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.324e-05/11.03, allocations: 112.5 kB / 3.563 GB, free: 27.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/11.03, allocations: 11.16 kB / 3.563 GB, free: 27.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/11.03, allocations: 325.4 kB / 3.564 GB, free: 27.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/11.03, allocations: 91.75 kB / 3.564 GB, free: 27.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/11.03, allocations: 214.1 kB / 3.564 GB, free: 27.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/11.03, allocations: 120.5 kB / 3.564 GB, free: 27.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/11.03, allocations: 2.531 kB / 3.564 GB, free: 27.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001086/11.04, allocations: 406.2 kB / 3.564 GB, free: 27.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/11.04, allocations: 11.98 kB / 3.564 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/11.04, allocations: 3.719 kB / 3.564 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/11.04, allocations: 68.95 kB / 3.564 GB, free: 27.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/11.04, allocations: 80.92 kB / 3.565 GB, free: 27.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/11.04, allocations: 2.435 MB / 3.567 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/11.04, allocations: 32.44 kB / 3.567 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/11.04, allocations: 16 kB / 3.567 GB, free: 24.96 MB / 442.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): 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.000293/11.04, allocations: 167.8 kB / 3.567 GB, free: 24.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/11.04, allocations: 34.69 kB / 3.567 GB, free: 24.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/11.04, allocations: 0.8605 MB / 3.568 GB, free: 24.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/11.04, allocations: 11.25 kB / 3.568 GB, free: 24.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/11.04, allocations: 3.953 kB / 3.568 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0011/11.04, allocations: 1.045 MB / 3.569 GB, free: 24.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/11.04, allocations: 1.483 MB / 3.57 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/11.04, allocations: 0 / 3.57 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/11.04, allocations: 59.84 kB / 3.571 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005542/11.05, allocations: 82.33 kB / 3.571 GB, free: 23.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/11.05, allocations: 10.94 kB / 3.571 GB, free: 23.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003688/11.05, allocations: 0.5838 MB / 3.571 GB, free: 23.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/11.05, allocations: 0 / 3.571 GB, free: 23.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/11.05, allocations: 0.8244 MB / 3.572 GB, free: 23.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/11.05, allocations: 139 kB / 3.572 GB, free: 22.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/11.05, allocations: 12.81 kB / 3.572 GB, free: 22.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006385/11.05, allocations: 43.08 kB / 3.572 GB, free: 22.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/11.05, allocations: 20.92 kB / 3.572 GB, free: 22.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/11.05, allocations: 15.61 kB / 3.572 GB, free: 22.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003339/11.05, allocations: 236.2 kB / 3.572 GB, free: 22.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/11.05, allocations: 0 / 3.572 GB, free: 22.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004747/11.05, allocations: 0.8848 MB / 3.573 GB, free: 22.76 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 () * Number of clocked 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.01052/11.06, allocations: 2.6 MB / 3.576 GB, free: 21.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001297/11.07, allocations: 492.6 kB / 3.576 GB, free: 21.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/11.07, allocations: 0 / 3.576 GB, free: 21.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005116/11.07, allocations: 243.1 kB / 3.577 GB, free: 21.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/11.07, allocations: 175.8 kB / 3.577 GB, free: 21.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008735/11.08, allocations: 5.065 MB / 3.582 GB, free: 34.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/11.08, allocations: 0.8328 MB / 3.582 GB, free: 33.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/11.08, allocations: 144 kB / 3.583 GB, free: 33.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.412e-06/11.08, allocations: 0 / 3.583 GB, free: 33.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.496/14.57, allocations: 27.85 MB / 3.61 GB, free: 30.76 MB / 458.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