Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002158/0.002158, allocations: 181.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.209/2.209, 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.001609/0.001608, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.268e-05/5.282e-05, allocations: 7.984 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 47.57 MB / 369.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.69/10.8, allocations: 3.56 GB / 3.92 GB, free: 30.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/10.8, allocations: 99.69 kB / 3.921 GB, free: 30.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.851/12.65, allocations: 317 MB / 4.23 GB, free: 46.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.894e-06/12.65, allocations: 0 / 4.23 GB, free: 46.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.091e-05/12.65, allocations: 12 kB / 4.23 GB, free: 46.35 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.006361/12.66, allocations: 1.558 MB / 4.232 GB, free: 44.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/12.66, allocations: 8.031 kB / 4.232 GB, free: 44.74 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002215/12.66, allocations: 90.45 kB / 4.232 GB, free: 44.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/12.66, allocations: 59.44 kB / 4.232 GB, free: 44.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/12.66, allocations: 354.1 kB / 4.232 GB, free: 44.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/12.66, allocations: 36.98 kB / 4.232 GB, free: 44.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/12.66, allocations: 44 kB / 4.232 GB, free: 44.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/12.66, allocations: 0.4906 MB / 4.233 GB, free: 43.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/12.66, allocations: 0 / 4.233 GB, free: 43.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.442e-05/12.66, allocations: 23.94 kB / 4.233 GB, free: 43.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/12.66, allocations: 8 kB / 4.233 GB, free: 43.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/12.66, allocations: 0.5818 MB / 4.233 GB, free: 43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005011/12.67, allocations: 2.164 MB / 4.235 GB, free: 40.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/12.67, allocations: 0.5633 MB / 4.236 GB, free: 40.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006076/12.67, allocations: 254.4 kB / 4.236 GB, free: 39.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006948/12.67, allocations: 0.7048 MB / 4.237 GB, free: 38.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/12.67, allocations: 42.94 kB / 4.237 GB, free: 38.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 5.54e-06/12.67, allocations: 4 kB / 4.237 GB, free: 38.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.02351/12.69, allocations: 3.345 MB / 4.24 GB, free: 35.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/12.69, allocations: 63.95 kB / 4.24 GB, free: 35.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/12.7, allocations: 263.1 kB / 4.24 GB, free: 35.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001622/12.7, allocations: 37.7 kB / 4.241 GB, free: 35.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/12.7, allocations: 243.7 kB / 4.241 GB, free: 34.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/12.7, allocations: 224.7 kB / 4.241 GB, free: 34.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/12.7, allocations: 12 kB / 4.241 GB, free: 34.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.554e-05/12.7, allocations: 334.8 kB / 4.241 GB, free: 34.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006865/12.7, allocations: 273.5 kB / 4.242 GB, free: 34.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007195/12.7, allocations: 337.7 kB / 4.242 GB, free: 33.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007614/12.7, allocations: 314 kB / 4.242 GB, free: 33.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/12.7, allocations: 11.88 kB / 4.242 GB, free: 33.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002648/12.7, allocations: 0.8732 MB / 4.243 GB, free: 32.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/12.7, allocations: 7.984 kB / 4.243 GB, free: 32.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/12.7, allocations: 8.156 kB / 4.243 GB, free: 32.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/12.7, allocations: 274.3 kB / 4.243 GB, free: 32.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/12.7, allocations: 111.9 kB / 4.243 GB, free: 32.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/12.71, allocations: 3.423 MB / 4.247 GB, free: 28.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/12.71, allocations: 64.05 kB / 4.247 GB, free: 28.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/12.71, allocations: 27.98 kB / 4.247 GB, free: 28.25 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.0002753/12.71, allocations: 136.9 kB / 4.247 GB, free: 28.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/12.71, allocations: 43.48 kB / 4.247 GB, free: 28.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006637/12.72, allocations: 1.263 MB / 4.248 GB, free: 26.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/12.72, allocations: 8 kB / 4.248 GB, free: 26.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/12.72, allocations: 0 / 4.248 GB, free: 26.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005994/12.72, allocations: 1.301 MB / 4.25 GB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004032/12.73, allocations: 1.611 MB / 4.251 GB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/12.73, allocations: 3.938 kB / 4.251 GB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/12.73, allocations: 115.9 kB / 4.251 GB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/12.73, allocations: 316.5 kB / 4.252 GB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/12.73, allocations: 19.98 kB / 4.252 GB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/12.73, allocations: 0.7709 MB / 4.252 GB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/12.73, allocations: 0 / 4.252 GB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00665/12.74, allocations: 1.534 MB / 4.254 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/12.74, allocations: 120.7 kB / 4.254 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/12.74, allocations: 19.98 kB / 4.254 GB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/12.74, allocations: 59.86 kB / 4.254 GB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/12.74, allocations: 44.5 kB / 4.254 GB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/12.74, allocations: 31.97 kB / 4.254 GB, free: 20.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003457/12.74, allocations: 219.1 kB / 4.254 GB, free: 20.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/12.74, allocations: 0 / 4.254 GB, free: 20.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002659/12.74, allocations: 0.5424 MB / 4.255 GB, free: 19.88 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.01033/12.75, allocations: 3.233 MB / 4.258 GB, free: 16.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00251/12.76, allocations: 0.9126 MB / 4.259 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/12.76, allocations: 4.312 kB / 4.259 GB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/12.76, allocations: 382.9 kB / 4.259 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/12.76, allocations: 297.3 kB / 4.259 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/12.77, allocations: 1.326 MB / 4.261 GB, free: 13.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/12.77, allocations: 0.8649 MB / 4.262 GB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/12.77, allocations: 175.4 kB / 4.262 GB, free: 12.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/12.77, allocations: 0 / 4.262 GB, free: 12.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.901/16.67, allocations: 22.61 MB / 4.284 GB, free: 60.69 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat