Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) 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) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.833/1.833, allocations: 285.6 MB / 293.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001667/0.001667, allocations: 172.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009976/0.0009978, allocations: 91.72 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.087e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7265/0.7265, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2328/0.9593, allocations: 164.4 MB / 1.125 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.9596, allocations: 82 kB / 1.125 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005434/0.9651, allocations: 2.127 MB / 1.127 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9651, allocations: 4 kB / 1.127 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.9651, allocations: 0 / 1.127 GB, free: 5.129 MB / 0.7292 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.0004445/0.9656, allocations: 374.3 kB / 1.128 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.9657, allocations: 12.22 kB / 1.128 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.9657, allocations: 3.953 kB / 1.128 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.9658, allocations: 170.9 kB / 1.128 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.9659, allocations: 9.859 kB / 1.128 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.9659, allocations: 4.766 kB / 1.128 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.948e-05/0.966, allocations: 24.94 kB / 1.128 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.998e-05/0.9661, allocations: 45.69 kB / 1.128 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.9661, allocations: 0 / 1.128 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.9661, allocations: 0 / 1.128 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.9661, allocations: 0 / 1.128 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.9665, allocations: 261.3 kB / 1.128 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.178e-05/0.9666, allocations: 34.41 kB / 1.128 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.9666, allocations: 12.95 kB / 1.128 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.9668, allocations: 89.09 kB / 1.128 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.9668, allocations: 38.55 kB / 1.128 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.9668, allocations: 5.406 kB / 1.128 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.00022/0.967, allocations: 57.5 kB / 1.128 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.9671, allocations: 55.39 kB / 1.128 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.9672, allocations: 101 kB / 1.128 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.9672, allocations: 25.7 kB / 1.128 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.9673, allocations: 95.06 kB / 1.129 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.9673, allocations: 11.81 kB / 1.129 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.9673, allocations: 0 / 1.129 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.9674, allocations: 314.8 kB / 1.129 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.9675, allocations: 12 kB / 1.129 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.9675, allocations: 10.16 kB / 1.129 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.9675, allocations: 11.98 kB / 1.129 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9675, allocations: 0 / 1.129 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001045/0.9677, allocations: 57.62 kB / 1.129 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.9677, allocations: 4 kB / 1.129 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.9677, allocations: 5.375 kB / 1.129 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.9677, allocations: 0 / 1.129 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.9678, allocations: 23.98 kB / 1.129 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.9679, allocations: 3.953 kB / 1.129 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.616e-05/0.968, allocations: 19.97 kB / 1.129 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.968, allocations: 0 / 1.129 GB, free: 3.07 MB / 0.7292 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 6.551e-05/0.968, allocations: 101 kB / 1.129 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001122/0.9682, allocations: 57.59 kB / 1.129 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.9682, allocations: 4 kB / 1.129 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.9684, allocations: 69.95 kB / 1.129 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.9684, allocations: 3.953 kB / 1.129 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.9684, allocations: 0 / 1.129 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.9684, allocations: 1.688 kB / 1.129 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.9685, allocations: 148.9 kB / 1.129 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9685, allocations: 0 / 1.129 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.9687, allocations: 27.91 kB / 1.129 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9687, allocations: 4 kB / 1.129 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.9687, allocations: 0 / 1.129 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9687, allocations: 0 / 1.129 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9687, allocations: 0 / 1.129 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.9689, allocations: 158.1 kB / 1.13 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.9689, allocations: 77.11 kB / 1.13 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.9689, allocations: 0.8438 kB / 1.13 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.9691, allocations: 27.91 kB / 1.13 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.9691, allocations: 4 kB / 1.13 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.9691, allocations: 0 / 1.13 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.266e-05/0.9692, allocations: 98.12 kB / 1.13 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9692, allocations: 0 / 1.13 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002223/0.9694, allocations: 19.94 kB / 1.13 GB, free: 2.195 MB / 0.7292 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.0005195/0.9699, allocations: 0.7272 MB / 1.13 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.944e-05/0.97, allocations: 23.94 kB / 1.13 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.97, allocations: 0 / 1.13 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.9701, allocations: 12 kB / 1.13 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.9703, allocations: 13.08 kB / 1.13 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.9706, allocations: 105.6 kB / 1.131 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.9709, allocations: 0.6846 MB / 1.131 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.971, allocations: 7.281 kB / 1.131 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.971, allocations: 15.44 kB / 1.131 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.971, allocations: 0 / 1.131 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.9909, allocations: 1.524 MB / 1.133 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.9911, allocations: 160.5 kB / 1.133 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.489, allocations: 3.938 kB / 1.133 GB, free: 14.86 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)