Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",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.001095/0.001095, allocations: 172.5 kB / 14.1 MB, free: 1.223 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.374/1.374, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008976/0.0008976, allocations: 86.64 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.644e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07641/0.07646, allocations: 47.58 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.195/7.271, allocations: 3.56 GB / 3.921 GB, free: 27.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/7.271, allocations: 98.36 kB / 3.921 GB, free: 27.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.044/8.316, allocations: 317 MB / 4.231 GB, free: 43.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/8.316, allocations: 384 / 4.231 GB, free: 43.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.433e-05/8.316, allocations: 15.98 kB / 4.231 GB, free: 43.27 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00622/8.322, allocations: 1.55 MB / 4.233 GB, free: 41.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/8.322, allocations: 12.03 kB / 4.233 GB, free: 41.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/8.322, allocations: 82.52 kB / 4.233 GB, free: 41.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/8.322, allocations: 67.38 kB / 4.233 GB, free: 41.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/8.323, allocations: 358.1 kB / 4.233 GB, free: 41.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/8.323, allocations: 33 kB / 4.233 GB, free: 41.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/8.323, allocations: 44 kB / 4.233 GB, free: 41.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007909/8.324, allocations: 494.4 kB / 4.234 GB, free: 40.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/8.324, allocations: 0 / 4.234 GB, free: 40.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/8.324, allocations: 20 kB / 4.234 GB, free: 40.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/8.324, allocations: 14.62 kB / 4.234 GB, free: 40.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007695/8.325, allocations: 0.5856 MB / 4.234 GB, free: 39.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/8.327, allocations: 2.171 MB / 4.236 GB, free: 37.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000951/8.328, allocations: 0.5476 MB / 4.237 GB, free: 36.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/8.329, allocations: 261.9 kB / 4.237 GB, free: 36.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/8.329, allocations: 0.697 MB / 4.238 GB, free: 35.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/8.329, allocations: 43 kB / 4.238 GB, free: 35.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 2.685e-06/8.329, allocations: 0 / 4.238 GB, free: 35.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.01161/8.341, allocations: 3.361 MB / 4.241 GB, free: 32.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/8.341, allocations: 63.97 kB / 4.241 GB, free: 32.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/8.341, allocations: 267 kB / 4.241 GB, free: 32.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/8.341, allocations: 41.31 kB / 4.241 GB, free: 32.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/8.341, allocations: 185.2 kB / 4.242 GB, free: 31.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/8.341, allocations: 232.7 kB / 4.242 GB, free: 31.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/8.341, allocations: 8 kB / 4.242 GB, free: 31.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.465e-05/8.341, allocations: 354.8 kB / 4.242 GB, free: 31.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/8.342, allocations: 269.5 kB / 4.242 GB, free: 30.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/8.342, allocations: 345.6 kB / 4.243 GB, free: 30.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/8.343, allocations: 310 kB / 4.243 GB, free: 30.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/8.343, allocations: 3.953 kB / 4.243 GB, free: 30.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001412/8.344, allocations: 0.8926 MB / 4.244 GB, free: 29.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/8.344, allocations: 4 kB / 4.244 GB, free: 29.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/8.344, allocations: 0 / 4.244 GB, free: 29.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009795/8.345, allocations: 278.4 kB / 4.244 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/8.346, allocations: 123.8 kB / 4.244 GB, free: 28.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/8.347, allocations: 3.407 MB / 4.248 GB, free: 25.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/8.348, allocations: 60.11 kB / 4.248 GB, free: 25.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/8.348, allocations: 23.98 kB / 4.248 GB, free: 25.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001941/8.348, allocations: 148.8 kB / 4.248 GB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.015e-05/8.348, allocations: 47.47 kB / 4.248 GB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/8.352, allocations: 1.259 MB / 4.249 GB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/8.352, allocations: 8 kB / 4.249 GB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/8.352, allocations: 3.984 kB / 4.249 GB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002973/8.355, allocations: 1.301 MB / 4.25 GB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/8.357, allocations: 1.619 MB / 4.252 GB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/8.357, allocations: 0 / 4.252 GB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/8.358, allocations: 111.9 kB / 4.252 GB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/8.359, allocations: 316.4 kB / 4.252 GB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/8.359, allocations: 19.98 kB / 4.252 GB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006125/8.359, allocations: 0.771 MB / 4.253 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/8.359, allocations: 8.016 kB / 4.253 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/8.363, allocations: 1.522 MB / 4.255 GB, free: 17.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/8.363, allocations: 120.7 kB / 4.255 GB, free: 17.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-05/8.363, allocations: 19.98 kB / 4.255 GB, free: 17.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/8.364, allocations: 59.86 kB / 4.255 GB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/8.364, allocations: 44.44 kB / 4.255 GB, free: 17.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/8.364, allocations: 31.97 kB / 4.255 GB, free: 17.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001889/8.364, allocations: 223.1 kB / 4.255 GB, free: 17.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/8.364, allocations: 0 / 4.255 GB, free: 17.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001912/8.366, allocations: 0.5346 MB / 4.256 GB, free: 16.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005788/8.372, allocations: 3.241 MB / 4.259 GB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001347/8.373, allocations: 0.9126 MB / 4.26 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/8.373, allocations: 0 / 4.26 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005661/8.374, allocations: 379.3 kB / 4.26 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/8.375, allocations: 289.4 kB / 4.26 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/8.378, allocations: 1.296 MB / 4.262 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/8.378, allocations: 0.8611 MB / 4.262 GB, free: 9.738 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005742/8.379, allocations: 132.6 kB / 4.263 GB, free: 9.605 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/8.379, allocations: 167.4 kB / 4.263 GB, free: 9.441 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/8.379, allocations: 0 / 4.263 GB, free: 9.441 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3059/8.685, allocations: 38.98 MB / 4.301 GB, free: 54.83 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/8.685, allocations: 191.7 kB / 4.301 GB, free: 54.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.356/12.04, allocations: 3.594 kB / 4.301 GB, free: 54.6 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat