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_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_cpp_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_cpp_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.001577/0.001577, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 90.56 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.195e-05, allocations: 4 kB / 314.9 MB, free: 9.055 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3642, allocations: 47.56 MB / 362.4 MB, free: 45.74 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.63/8.994, allocations: 2.739 GB / 3.093 GB, free: 85.52 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/8.994, allocations: 100.3 kB / 3.093 GB, free: 85.52 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.333/10.33, allocations: 292.2 MB / 3.379 GB, free: 29.39 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.565e-06/10.33, allocations: 0 / 3.379 GB, free: 29.39 MB / 427.1 MB Notification: Performance of Transformations before backend: time 4.047e-05/10.33, allocations: 12 kB / 3.379 GB, free: 29.38 MB / 427.1 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.004583/10.33, allocations: 0.9177 MB / 3.38 GB, free: 28.42 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/10.33, allocations: 8.031 kB / 3.38 GB, free: 28.41 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/10.33, allocations: 92.5 kB / 3.38 GB, free: 28.32 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008591/10.34, allocations: 298.3 kB / 3.38 GB, free: 27.99 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/10.34, allocations: 12 kB / 3.38 GB, free: 27.98 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/10.34, allocations: 19.91 kB / 3.38 GB, free: 27.96 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009587/10.34, allocations: 233.5 kB / 3.38 GB, free: 27.73 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/10.34, allocations: 350.4 kB / 3.381 GB, free: 27.34 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/10.34, allocations: 7.938 kB / 3.381 GB, free: 27.34 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.811e-05/10.34, allocations: 0 / 3.381 GB, free: 27.34 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/10.34, allocations: 15.94 kB / 3.381 GB, free: 27.32 MB / 427.1 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.07302/10.41, allocations: 17.76 MB / 3.398 GB, free: 7.566 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/10.41, allocations: 182.7 kB / 3.398 GB, free: 7.379 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/10.41, allocations: 88.8 kB / 3.398 GB, free: 7.289 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3897/10.8, allocations: 15.38 MB / 3.413 GB, free: 59.45 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/10.8, allocations: 34.69 kB / 3.413 GB, free: 59.41 MB / 427.1 MB Notification: Performance of pre-optimization done (n=23): time 3.026e-06/10.8, allocations: 2.406 kB / 3.413 GB, free: 59.41 MB / 427.1 MB Notification: Performance of matching and sorting (n=28): time 0.00578/10.81, allocations: 1.128 MB / 3.414 GB, free: 59.12 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/10.81, allocations: 59.17 kB / 3.414 GB, free: 59.06 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/10.81, allocations: 210.7 kB / 3.415 GB, free: 58.96 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/10.81, allocations: 25.7 kB / 3.415 GB, free: 58.93 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/10.81, allocations: 267.5 kB / 3.415 GB, free: 58.73 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.787e-05/10.81, allocations: 92.92 kB / 3.415 GB, free: 58.69 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/10.81, allocations: 5.266 kB / 3.415 GB, free: 58.69 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/10.81, allocations: 332.3 kB / 3.415 GB, free: 58.38 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/10.81, allocations: 86.97 kB / 3.415 GB, free: 58.38 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/10.81, allocations: 208.8 kB / 3.416 GB, free: 58.24 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/10.81, allocations: 220 kB / 3.416 GB, free: 58.24 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/10.81, allocations: 0 / 3.416 GB, free: 58.24 MB / 427.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002/10.81, allocations: 484.3 kB / 3.416 GB, free: 58.18 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/10.81, allocations: 7.656 kB / 3.416 GB, free: 58.18 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/10.81, allocations: 3.844 kB / 3.416 GB, free: 58.18 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/10.81, allocations: 67.64 kB / 3.416 GB, free: 58.16 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/10.81, allocations: 81.61 kB / 3.416 GB, free: 58.16 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/10.82, allocations: 1.918 MB / 3.418 GB, free: 56.45 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/10.82, allocations: 18.27 kB / 3.418 GB, free: 56.45 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/10.82, allocations: 21.59 kB / 3.418 GB, free: 56.45 MB / 427.1 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): 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.0001568/10.82, allocations: 120.9 kB / 3.418 GB, free: 56.34 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001679/10.82, allocations: 374.8 kB / 3.419 GB, free: 56.27 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/10.82, allocations: 26.03 kB / 3.419 GB, free: 56.26 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/10.82, allocations: 0.816 MB / 3.42 GB, free: 56.16 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/10.82, allocations: 9.141 kB / 3.42 GB, free: 56.16 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/10.82, allocations: 0 / 3.42 GB, free: 56.16 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/10.82, allocations: 1.034 MB / 3.421 GB, free: 55.67 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/10.82, allocations: 1.395 MB / 3.422 GB, free: 55.31 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/10.82, allocations: 0 / 3.422 GB, free: 55.31 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/10.82, allocations: 46.89 kB / 3.422 GB, free: 55.31 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/10.82, allocations: 105.2 kB / 3.422 GB, free: 55.3 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/10.82, allocations: 1.312 kB / 3.422 GB, free: 55.3 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007976/10.83, allocations: 0.7106 MB / 3.423 GB, free: 54.78 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/10.83, allocations: 0 / 3.423 GB, free: 54.78 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/10.83, allocations: 0.9085 MB / 3.424 GB, free: 54.57 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/10.83, allocations: 115.9 kB / 3.424 GB, free: 54.46 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/10.83, allocations: 0 / 3.424 GB, free: 54.46 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/10.83, allocations: 15.55 kB / 3.424 GB, free: 54.46 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/10.83, allocations: 25.92 kB / 3.424 GB, free: 54.45 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/10.83, allocations: 13.12 kB / 3.424 GB, free: 54.45 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001947/10.83, allocations: 157.4 kB / 3.424 GB, free: 54.37 MB / 427.1 MB Notification: Performance of sort global known variables: time 2.087e-05/10.83, allocations: 3.062 kB / 3.424 GB, free: 54.37 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.003087/10.83, allocations: 0.5134 MB / 3.425 GB, free: 54.37 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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.006814/10.84, allocations: 2.346 MB / 3.427 GB, free: 53.56 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/10.84, allocations: 494.3 kB / 3.427 GB, free: 53.46 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/10.84, allocations: 0 / 3.427 GB, free: 53.46 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006199/10.84, allocations: 280.1 kB / 3.428 GB, free: 53.46 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/10.84, allocations: 132.7 kB / 3.428 GB, free: 53.45 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/10.85, allocations: 0.9425 MB / 3.429 GB, free: 53.2 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/10.85, allocations: 0.8147 MB / 3.429 GB, free: 52.5 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/10.85, allocations: 133 kB / 3.43 GB, free: 52.49 MB / 427.1 MB Notification: Performance of SimCode: time 1.342e-06/10.85, allocations: 0 / 3.43 GB, free: 52.49 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.328/14.17, allocations: 19.53 MB / 3.449 GB, free: 51.43 MB / 427.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat