Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",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.3/2.3, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001277/0.001277, allocations: 190 kB / 498.1 MB, free: 5.727 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.477/1.477, allocations: 223.2 MB / 0.7948 GB, free: 17.8 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.0009381/0.000938, allocations: 103.2 kB / 0.9346 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004685, allocations: 6.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3154, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2229/0.5384, allocations: 176.4 MB / 1.395 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.5387, allocations: 79.95 kB / 1.395 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.005929/0.5446, allocations: 2.201 MB / 1.397 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5446, allocations: 0 / 1.397 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.5447, allocations: 4 kB / 1.397 GB, free: 15.15 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004898/0.5452, allocations: 375.2 kB / 1.398 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.5452, allocations: 12.03 kB / 1.398 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.5453, allocations: 38.52 kB / 1.398 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.5453, allocations: 7.906 kB / 1.398 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.5454, allocations: 178.9 kB / 1.398 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.5455, allocations: 4 kB / 1.398 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.5455, allocations: 0 / 1.398 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.5458, allocations: 85.66 kB / 1.398 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5458, allocations: 0 / 1.398 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.5458, allocations: 4 kB / 1.398 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5458, allocations: 7.891 kB / 1.398 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.5461, allocations: 91.91 kB / 1.398 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.5465, allocations: 284.7 kB / 1.398 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.5468, allocations: 66.53 kB / 1.399 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.547, allocations: 93.14 kB / 1.399 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.547, allocations: 34.56 kB / 1.399 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.547, allocations: 0 / 1.399 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0006066/0.5476, allocations: 169.4 kB / 1.399 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.5477, allocations: 51.41 kB / 1.399 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.5478, allocations: 105 kB / 1.399 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.5478, allocations: 29.53 kB / 1.399 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.5479, allocations: 96.12 kB / 1.399 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.5479, allocations: 7.844 kB / 1.399 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.5479, allocations: 4 kB / 1.399 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5481, allocations: 322.8 kB / 1.399 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.5482, allocations: 39.97 kB / 1.399 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.5484, allocations: 35.97 kB / 1.4 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.5485, allocations: 43.95 kB / 1.4 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5485, allocations: 4 kB / 1.4 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000425/0.549, allocations: 125.5 kB / 1.4 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.549, allocations: 15.89 kB / 1.4 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.549, allocations: 0 / 1.4 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.549, allocations: 0 / 1.4 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.5492, allocations: 23.97 kB / 1.4 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5492, allocations: 0 / 1.4 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.815e-05/0.5493, allocations: 19.98 kB / 1.4 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.5493, allocations: 0 / 1.4 GB, free: 12.59 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 0.0001205/0.5495, allocations: 109.8 kB / 1.4 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.5495, allocations: 7.906 kB / 1.4 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.5499, allocations: 129.5 kB / 1.4 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.55, allocations: 0 / 1.4 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.55, allocations: 0 / 1.4 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.55, allocations: 0 / 1.4 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.5502, allocations: 177.7 kB / 1.4 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5502, allocations: 7.938 kB / 1.4 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.5503, allocations: 23.98 kB / 1.4 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.5503, allocations: 3.984 kB / 1.4 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.5503, allocations: 0 / 1.4 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.5503, allocations: 7.953 kB / 1.4 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5504, allocations: 0 / 1.4 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.5507, allocations: 211.9 kB / 1.4 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.5508, allocations: 85.02 kB / 1.4 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.5508, allocations: 3.938 kB / 1.4 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.551, allocations: 23.97 kB / 1.4 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.551, allocations: 7.984 kB / 1.4 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.551, allocations: 7.938 kB / 1.4 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.5511, allocations: 91.27 kB / 1.401 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3e-07/0.5511, allocations: 4 kB / 1.401 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002433/0.5513, allocations: 16 kB / 1.401 GB, free: 11.59 MB / 0.9011 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 (3): * Single equations (assignments): 3 * 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.0008322/0.5522, allocations: 0.7978 MB / 1.401 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.5526, allocations: 91.92 kB / 1.401 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5526, allocations: 0 / 1.401 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.5528, allocations: 47.91 kB / 1.402 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.553, allocations: 19.94 kB / 1.402 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.5542, allocations: 0.5608 MB / 1.402 GB, free: 10 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.5545, allocations: 0.6926 MB / 1.403 GB, free: 9.281 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.5545, allocations: 0 / 1.403 GB, free: 9.281 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.5546, allocations: 19.42 kB / 1.403 GB, free: 9.262 MB / 0.9011 GB Notification: Performance of SimCode: time 4.41e-07/0.5546, allocations: 0 / 1.403 GB, free: 9.262 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.5683, allocations: 2.245 MB / 1.405 GB, free: 7.152 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.5685, allocations: 188.4 kB / 1.405 GB, free: 6.91 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.238, allocations: 0 / 1.405 GB, free: 6.91 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat