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: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.046/2.046, allocations: 391.2 MB / 407 MB, free: 10.81 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.001293/0.001293, allocations: 189.3 kB / 499.1 MB, free: 4.676 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.347/1.347, allocations: 222.9 MB / 0.7948 GB, free: 15.83 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.0009462/0.0009464, allocations: 106.2 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 55.59 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.256, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002469/0.2585, allocations: 1.549 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1083/0.3669, allocations: 129.9 MB / 1.346 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.367, allocations: 0 / 1.346 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.308e-05/0.3671, allocations: 0 / 1.346 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.621e-05/0.3672, allocations: 15.84 kB / 1.347 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.3676, allocations: 55.8 kB / 1.347 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3677, allocations: 47.86 kB / 1.347 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3678, allocations: 18.09 kB / 1.347 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.3679, allocations: 19.92 kB / 1.347 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.368, allocations: 27.84 kB / 1.347 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.368, allocations: 4 kB / 1.347 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.64e-05/0.3681, allocations: 19.92 kB / 1.347 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.3681, allocations: 8 kB / 1.347 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.3682, allocations: 23.86 kB / 1.347 GB, free: 1 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.3683, allocations: 51.81 kB / 1.347 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3683, allocations: 0 / 1.347 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3683, allocations: 0 / 1.347 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3684, allocations: 4 kB / 1.347 GB, free: 0.9453 MB / 0.8386 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.0005429/0.3689, allocations: 371.3 kB / 1.347 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.369, allocations: 15.98 kB / 1.347 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.369, allocations: 8.875 kB / 1.347 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.3691, allocations: 176.2 kB / 1.347 GB, free: 304 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3691, allocations: 12.31 kB / 1.347 GB, free: 292 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3692, allocations: 384 / 1.347 GB, free: 292 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.3694, allocations: 74.2 kB / 1.347 GB, free: 212 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.3694, allocations: 192 / 1.347 GB, free: 212 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3695, allocations: 3.938 kB / 1.347 GB, free: 208 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3695, allocations: 3.938 kB / 1.347 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.3698, allocations: 75.91 kB / 1.347 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.3701, allocations: 288.7 kB / 1.348 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.3703, allocations: 54.55 kB / 1.348 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.3705, allocations: 44.84 kB / 1.348 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.3707, allocations: 89.09 kB / 1.348 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3707, allocations: 30.56 kB / 1.348 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3707, allocations: 0 / 1.348 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0005319/0.3712, allocations: 129.6 kB / 1.348 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.3713, allocations: 51.41 kB / 1.348 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/0.3714, allocations: 117.8 kB / 1.348 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.3714, allocations: 25.7 kB / 1.348 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.3714, allocations: 96.05 kB / 1.348 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.3715, allocations: 7.906 kB / 1.348 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.3715, allocations: 13.72 kB / 1.348 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3716, allocations: 326.8 kB / 1.349 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.3718, allocations: 31.91 kB / 1.349 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3719, allocations: 31.95 kB / 1.349 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.3722, allocations: 72.78 kB / 1.349 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3722, allocations: 0 / 1.349 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003212/0.3725, allocations: 97.53 kB / 1.349 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3725, allocations: 8 kB / 1.349 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3725, allocations: 4 kB / 1.349 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3726, allocations: 0 / 1.349 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3727, allocations: 11.98 kB / 1.349 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3727, allocations: 7.938 kB / 1.349 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.645e-05/0.3728, allocations: 19.84 kB / 1.349 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.3728, allocations: 4 kB / 1.349 GB, free: 14.44 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.707e-05/0.3729, allocations: 114.4 kB / 1.349 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.3729, allocations: 8 kB / 1.349 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.3732, allocations: 105.5 kB / 1.349 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3733, allocations: 0 / 1.349 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3733, allocations: 0 / 1.349 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3733, allocations: 0 / 1.349 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.3734, allocations: 177.6 kB / 1.349 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3734, allocations: 0 / 1.349 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.3735, allocations: 19.98 kB / 1.349 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3736, allocations: 3.938 kB / 1.349 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3736, allocations: 0 / 1.349 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.3736, allocations: 3.938 kB / 1.349 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3736, allocations: 4 kB / 1.349 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007074/0.3743, allocations: 0.7788 MB / 1.35 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.3743, allocations: 89.02 kB / 1.35 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3744, allocations: 3.984 kB / 1.35 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3745, allocations: 11.98 kB / 1.35 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.3745, allocations: 3.938 kB / 1.35 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.3745, allocations: 12 kB / 1.35 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.3746, allocations: 91.7 kB / 1.35 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3746, allocations: 0 / 1.35 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003078/0.3749, allocations: 16 kB / 1.35 GB, free: 12.86 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001485/0.3751, allocations: 103.2 kB / 1.35 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.3754, allocations: 71.92 kB / 1.351 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3754, allocations: 0 / 1.351 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.3756, allocations: 39.89 kB / 1.351 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.3759, allocations: 12 kB / 1.351 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.3763, allocations: 276 kB / 1.351 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3765, allocations: 0.6809 MB / 1.352 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.43e-05/0.3766, allocations: 4 kB / 1.352 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.3766, allocations: 11.44 kB / 1.352 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of SimCode: time 1.9e-07/0.3766, allocations: 0 / 1.352 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of Templates: time 0.003001/0.3796, allocations: 0.8828 MB / 1.352 GB, free: 10.73 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)