Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.946/1.946, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.0009408/0.0009408, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.0008654/0.0008654, allocations: 95.94 kB / 0.9318 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.64e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2116, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7288/0.9404, allocations: 177.2 MB / 1.392 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.9406, allocations: 71.95 kB / 1.392 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.005242/0.9459, allocations: 2.201 MB / 1.394 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9459, allocations: 0 / 1.394 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.9459, allocations: 4 kB / 1.394 GB, free: 6.887 MB / 0.8542 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.0003839/0.9463, allocations: 370.1 kB / 1.394 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.9464, allocations: 12.03 kB / 1.394 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.9464, allocations: 34.52 kB / 1.394 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.9465, allocations: 11.89 kB / 1.395 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.9466, allocations: 163 kB / 1.395 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.9466, allocations: 7.938 kB / 1.395 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.9466, allocations: 0.875 kB / 1.395 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.9467, allocations: 51.5 kB / 1.395 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.9467, allocations: 0 / 1.395 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.9468, allocations: 3.625 kB / 1.395 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.9468, allocations: 7.953 kB / 1.395 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.507e-05/0.9468, allocations: 18 kB / 1.395 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.9472, allocations: 285.7 kB / 1.395 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.485e-05/0.9473, allocations: 33.58 kB / 1.395 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.9473, allocations: 23.38 kB / 1.395 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.9474, allocations: 93.17 kB / 1.395 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.9475, allocations: 31.44 kB / 1.395 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.9475, allocations: 0 / 1.395 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001479/0.9476, allocations: 60.78 kB / 1.395 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.9477, allocations: 55.41 kB / 1.395 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.9478, allocations: 104.6 kB / 1.395 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.9478, allocations: 35.03 kB / 1.395 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.9478, allocations: 87.64 kB / 1.396 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.9478, allocations: 11.84 kB / 1.396 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.9479, allocations: 0 / 1.396 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.948, allocations: 318.2 kB / 1.396 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.948, allocations: 7.562 kB / 1.396 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.948, allocations: 11.38 kB / 1.396 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/0.948, allocations: 11.81 kB / 1.396 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.948, allocations: 0 / 1.396 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.294e-05/0.9481, allocations: 60.09 kB / 1.396 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.9481, allocations: 7.953 kB / 1.396 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9482, allocations: 4 kB / 1.396 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.9482, allocations: 4 kB / 1.396 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.9483, allocations: 15.98 kB / 1.396 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.9483, allocations: 0 / 1.396 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.9484, allocations: 23.98 kB / 1.396 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.9484, allocations: 0 / 1.396 GB, free: 4.82 MB / 0.8542 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 () * 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 7.045e-05/0.9485, allocations: 108.9 kB / 1.396 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.9485, allocations: 11.84 kB / 1.396 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.9486, allocations: 60.55 kB / 1.396 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.9487, allocations: 4 kB / 1.396 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.9487, allocations: 4 kB / 1.396 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.9487, allocations: 0 / 1.396 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.9488, allocations: 169.2 kB / 1.396 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.9488, allocations: 0 / 1.396 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.9489, allocations: 27.41 kB / 1.396 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9489, allocations: 0 / 1.396 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-06/0.949, allocations: 0 / 1.396 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.949, allocations: 3.953 kB / 1.396 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.949, allocations: 4 kB / 1.396 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.9491, allocations: 146.7 kB / 1.396 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.9491, allocations: 81.02 kB / 1.397 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.9492, allocations: 0 / 1.397 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.9493, allocations: 18.92 kB / 1.397 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.9493, allocations: 15.88 kB / 1.397 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.9493, allocations: 4.281 kB / 1.397 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.894e-05/0.9494, allocations: 87.88 kB / 1.397 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9494, allocations: 4 kB / 1.397 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001936/0.9496, allocations: 19.25 kB / 1.397 GB, free: 4.004 MB / 0.8542 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 () * 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.0004175/0.95, allocations: 0.7198 MB / 1.397 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.231e-05/0.9501, allocations: 30.48 kB / 1.397 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.9501, allocations: 0 / 1.397 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.9501, allocations: 11.81 kB / 1.397 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.9503, allocations: 22.34 kB / 1.397 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.9506, allocations: 109.8 kB / 1.398 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.9508, allocations: 0.6942 MB / 1.398 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.9509, allocations: 0 / 1.398 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.9509, allocations: 14.88 kB / 1.398 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/0.9509, allocations: 0 / 1.398 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.9626, allocations: 2.35 MB / 1.401 GB, free: 148 kB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.9628, allocations: 164.2 kB / 1.401 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.502, allocations: 4.062 kB / 1.401 GB, free: 15.91 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat