Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 173.7 kB / 327.6 MB, free: 2.07 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007615/0.0007614, allocations: 90.34 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003335, allocations: 8.75 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.228, allocations: 106.3 MB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001594/0.2296, allocations: 1.219 MB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1396/0.3692, allocations: 128.5 MB / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.3693, allocations: 0 / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.3694, allocations: 0 / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.596e-05/0.3695, allocations: 15.92 kB / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.3699, allocations: 55.78 kB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.37, allocations: 51.73 kB / 1.028 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.3701, allocations: 11.98 kB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.3701, allocations: 15.94 kB / 1.028 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.3702, allocations: 27.89 kB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3702, allocations: 4 kB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.3703, allocations: 12 kB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.3704, allocations: 7.984 kB / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.3704, allocations: 41.58 kB / 1.028 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.3705, allocations: 44.16 kB / 1.028 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3705, allocations: 0 / 1.028 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3705, allocations: 0 / 1.028 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3706, allocations: 0 / 1.028 GB, free: 12.78 MB / 0.6823 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.0005868/0.3711, allocations: 379.4 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3712, allocations: 8.031 kB / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.3712, allocations: 8.844 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3714, allocations: 168.3 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3714, allocations: 16.3 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.3714, allocations: 384 / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.3717, allocations: 90.2 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3717, allocations: 192 / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3718, allocations: 3.938 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3718, allocations: 3.984 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.3721, allocations: 95.86 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.3725, allocations: 284.7 kB / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.3727, allocations: 66.55 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.3729, allocations: 52.91 kB / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.3731, allocations: 89.09 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.3731, allocations: 38.56 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3732, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005742/0.3737, allocations: 165.4 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.3738, allocations: 59.39 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3739, allocations: 117.7 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3739, allocations: 25.7 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.374, allocations: 88.14 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.374, allocations: 11.84 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.374, allocations: 4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3741, allocations: 322.8 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3743, allocations: 35.97 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.3744, allocations: 47.95 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.3747, allocations: 96.72 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3747, allocations: 0 / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003279/0.3751, allocations: 121.5 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3751, allocations: 4 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3751, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3751, allocations: 4 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3753, allocations: 23.98 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3753, allocations: 4 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.3754, allocations: 15.97 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3754, allocations: 4 kB / 1.031 GB, free: 10.13 MB / 0.6823 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 8.281e-05/0.3755, allocations: 113.7 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.3755, allocations: 11.91 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.3759, allocations: 137.5 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3759, allocations: 0 / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3759, allocations: 0 / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3759, allocations: 0 / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.3761, allocations: 173.6 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3761, allocations: 0 / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.3762, allocations: 19.98 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3762, allocations: 0 / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3762, allocations: 12 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3762, allocations: 0 / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3762, allocations: 0 / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.3766, allocations: 223.7 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.3767, allocations: 81.02 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3767, allocations: 7.938 kB / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3768, allocations: 23.98 kB / 1.032 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.3769, allocations: 3.984 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.3769, allocations: 0 / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.377, allocations: 95.27 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.377, allocations: 0 / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002112/0.3772, allocations: 12 kB / 1.032 GB, free: 9.133 MB / 0.6823 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.0001492/0.3773, allocations: 107.3 kB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.3777, allocations: 91.92 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3777, allocations: 0 / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.3779, allocations: 55.91 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3782, allocations: 20.72 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.3786, allocations: 210.2 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.3788, allocations: 0.6848 MB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.3789, allocations: 11.44 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3789, allocations: 0 / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of Templates: time 0.002467/0.3813, allocations: 0.9168 MB / 1.034 GB, free: 6.984 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)