Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.699/2.699, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 182.9 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.776/1.776, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008305/0.0008304, allocations: 88.34 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003959, allocations: 14.02 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3386, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/0.5347, allocations: 150 MB / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.535, allocations: 79.94 kB / 1.37 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007345/0.5424, allocations: 2.401 MB / 1.372 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.116e-06/0.5424, allocations: 0 / 1.372 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.5425, allocations: 4 kB / 1.372 GB, free: 9.477 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005184/0.543, allocations: 375.2 kB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.543, allocations: 12.03 kB / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.779e-05/0.5431, allocations: 38.55 kB / 1.372 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.5432, allocations: 7.906 kB / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.5433, allocations: 174.9 kB / 1.372 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.5434, allocations: 33.7 kB / 1.372 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.5434, allocations: 0 / 1.372 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.5437, allocations: 81.66 kB / 1.373 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5437, allocations: 0 / 1.373 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.5438, allocations: 0 / 1.373 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5438, allocations: 0 / 1.373 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.544, allocations: 59.95 kB / 1.373 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.5446, allocations: 320.6 kB / 1.373 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.5447, allocations: 54.55 kB / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.5448, allocations: 0 / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.5448, allocations: 34.5 kB / 1.373 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5448, allocations: 0 / 1.373 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004089/0.5452, allocations: 121.6 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.5453, allocations: 55.39 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.5454, allocations: 104.9 kB / 1.373 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.5454, allocations: 25.7 kB / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.5455, allocations: 92.12 kB / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.5456, allocations: 15.75 kB / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.5456, allocations: 0 / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5457, allocations: 314.8 kB / 1.374 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.5458, allocations: 27.97 kB / 1.374 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.5459, allocations: 42.58 kB / 1.374 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.943e-05/0.546, allocations: 31.97 kB / 1.374 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.546, allocations: 0 / 1.374 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002364/0.5463, allocations: 93.59 kB / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.5463, allocations: 4 kB / 1.374 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5463, allocations: 4 kB / 1.374 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5464, allocations: 0 / 1.374 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.5465, allocations: 20.02 kB / 1.374 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.5465, allocations: 3.953 kB / 1.374 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.5466, allocations: 15.91 kB / 1.374 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.5466, allocations: 3.984 kB / 1.374 GB, free: 7.121 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.444e-05/0.5467, allocations: 113.8 kB / 1.374 GB, free: 7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.5468, allocations: 240 / 1.374 GB, free: 7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.5468, allocations: 11.91 kB / 1.374 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5468, allocations: 3.984 kB / 1.374 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5468, allocations: 4 kB / 1.374 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5469, allocations: 7.891 kB / 1.374 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.547, allocations: 173.6 kB / 1.374 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5471, allocations: 0 / 1.374 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.5471, allocations: 15.98 kB / 1.374 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.5472, allocations: 4 kB / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.5472, allocations: 4.125 kB / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5472, allocations: 0 / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5472, allocations: 0 / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.5475, allocations: 191.3 kB / 1.374 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.5475, allocations: 81.05 kB / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.5476, allocations: 11.98 kB / 1.375 GB, free: 6.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.5477, allocations: 15.98 kB / 1.375 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.5478, allocations: 4 kB / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.5478, allocations: 0 / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.5479, allocations: 91.27 kB / 1.375 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5479, allocations: 0 / 1.375 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002194/0.5481, allocations: 8 kB / 1.375 GB, free: 6.297 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005829/0.5487, allocations: 0.7277 MB / 1.375 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.5489, allocations: 67.89 kB / 1.375 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5489, allocations: 0 / 1.375 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.5491, allocations: 27.98 kB / 1.375 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.5493, allocations: 8.062 kB / 1.375 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006345/0.5499, allocations: 0.4941 MB / 1.376 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.5502, allocations: 0.6887 MB / 1.377 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.593e-05/0.5502, allocations: 4 kB / 1.377 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.5503, allocations: 15.44 kB / 1.377 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/0.5503, allocations: 0 / 1.377 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.5637, allocations: 1.468 MB / 1.378 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.564, allocations: 187.4 kB / 1.378 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.281, allocations: 4 kB / 1.378 GB, free: 2.582 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat does not exist to compare? outputFormat=mat