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.WaterIF97_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.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_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.002275/0.002275, allocations: 182.4 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.135/2.135, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001186/0.001186, allocations: 82.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.732e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 47.57 MB / 369.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.461/8.561, allocations: 2.742 GB / 3.102 GB, free: 19.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/8.561, allocations: 94.5 kB / 3.102 GB, free: 19.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.372/10.93, allocations: 426.9 MB / 3.519 GB, free: 43.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/10.93, allocations: 0 / 3.519 GB, free: 43.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.792e-05/10.93, allocations: 7.062 kB / 3.519 GB, free: 43.93 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.005757/10.94, allocations: 1.261 MB / 3.52 GB, free: 43.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/10.94, allocations: 10.25 kB / 3.52 GB, free: 43.22 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/10.94, allocations: 64.5 kB / 3.521 GB, free: 43.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/10.94, allocations: 156.4 kB / 3.521 GB, free: 43.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/10.94, allocations: 319.2 kB / 3.521 GB, free: 42.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/10.94, allocations: 28.41 kB / 3.521 GB, free: 42.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.201e-05/10.94, allocations: 33.56 kB / 3.521 GB, free: 42.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/10.94, allocations: 0.5429 MB / 3.522 GB, free: 42.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/10.94, allocations: 0 / 3.522 GB, free: 42.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/10.94, allocations: 24.5 kB / 3.522 GB, free: 42.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/10.94, allocations: 5.938 kB / 3.522 GB, free: 42.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/10.95, allocations: 474.2 kB / 3.522 GB, free: 42.46 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.00422/10.95, allocations: 2.623 MB / 3.525 GB, free: 40.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/10.95, allocations: 419.4 kB / 3.525 GB, free: 40.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/10.95, allocations: 133.1 kB / 3.525 GB, free: 40.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/10.95, allocations: 0.5493 MB / 3.526 GB, free: 39.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/10.95, allocations: 41.75 kB / 3.526 GB, free: 39.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.715e-06/10.95, allocations: 0 / 3.526 GB, free: 39.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.005592/10.96, allocations: 1.255 MB / 3.527 GB, free: 38.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/10.96, allocations: 54.28 kB / 3.527 GB, free: 38.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/10.96, allocations: 225.6 kB / 3.527 GB, free: 38.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/10.96, allocations: 29.7 kB / 3.527 GB, free: 38.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/10.96, allocations: 239.6 kB / 3.527 GB, free: 38.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/10.96, allocations: 120.7 kB / 3.528 GB, free: 38.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/10.96, allocations: 8 kB / 3.528 GB, free: 38.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/10.96, allocations: 323.9 kB / 3.528 GB, free: 38.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/10.96, allocations: 112 kB / 3.528 GB, free: 38.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/10.96, allocations: 201.3 kB / 3.528 GB, free: 37.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/10.96, allocations: 138.5 kB / 3.528 GB, free: 37.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/10.96, allocations: 0 / 3.528 GB, free: 37.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001195/10.96, allocations: 423.7 kB / 3.529 GB, free: 37.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/10.96, allocations: 7.375 kB / 3.529 GB, free: 37.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/10.96, allocations: 7.188 kB / 3.529 GB, free: 37.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/10.96, allocations: 78.12 kB / 3.529 GB, free: 37.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/10.96, allocations: 98.42 kB / 3.529 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/10.97, allocations: 2.377 MB / 3.531 GB, free: 35.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/10.97, allocations: 49.09 kB / 3.531 GB, free: 35.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/10.97, allocations: 19.12 kB / 3.531 GB, free: 35.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002089/10.97, allocations: 131 kB / 3.531 GB, free: 35.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/10.97, allocations: 33.61 kB / 3.531 GB, free: 35.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/10.97, allocations: 1.338 MB / 3.533 GB, free: 34.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/10.97, allocations: 18.09 kB / 3.533 GB, free: 34.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/10.97, allocations: 0 / 3.533 GB, free: 34.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001819/10.97, allocations: 1.426 MB / 3.534 GB, free: 33.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/10.97, allocations: 2.109 MB / 3.536 GB, free: 32.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/10.97, allocations: 0 / 3.536 GB, free: 32.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/10.98, allocations: 110.2 kB / 3.536 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005299/10.98, allocations: 69.25 kB / 3.536 GB, free: 32.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/10.98, allocations: 7.5 kB / 3.536 GB, free: 32.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004224/10.98, allocations: 0.5979 MB / 3.537 GB, free: 31.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/10.98, allocations: 5.172 kB / 3.537 GB, free: 31.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/10.98, allocations: 1.166 MB / 3.538 GB, free: 31.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/10.98, allocations: 166.2 kB / 3.538 GB, free: 30.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.582e-05/10.98, allocations: 11.25 kB / 3.538 GB, free: 30.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/10.98, allocations: 40.75 kB / 3.538 GB, free: 30.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/10.98, allocations: 40.86 kB / 3.538 GB, free: 30.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/10.98, allocations: 15 kB / 3.538 GB, free: 30.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003517/10.98, allocations: 227.8 kB / 3.539 GB, free: 30.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.783e-06/10.98, allocations: 0 / 3.539 GB, free: 30.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004932/10.98, allocations: 0.8976 MB / 3.539 GB, free: 30.61 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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.01184/11, allocations: 2.942 MB / 3.542 GB, free: 29.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/11, allocations: 0.5856 MB / 3.543 GB, free: 29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/11, allocations: 0 / 3.543 GB, free: 29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007783/11, allocations: 378.2 kB / 3.543 GB, free: 28.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/11, allocations: 186.5 kB / 3.543 GB, free: 28.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/11.01, allocations: 1.372 MB / 3.545 GB, free: 28.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/11.01, allocations: 0.8895 MB / 3.546 GB, free: 27.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003886/11.01, allocations: 192.5 kB / 3.546 GB, free: 27.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.853e-06/11.01, allocations: 0 / 3.546 GB, free: 27.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.825/14.83, allocations: 29.75 MB / 3.575 GB, free: 24.88 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat