Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 194.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 292.2 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 62.41 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2217, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002643/0.2244, allocations: 1.553 MB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1316/0.356, allocations: 129.9 MB / 0.9111 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.3561, allocations: 4 kB / 0.9111 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.3561, allocations: 0 / 0.9111 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.874e-05/0.3562, allocations: 11.88 kB / 0.9111 GB, free: 10 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.3565, allocations: 64.06 kB / 0.9111 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.534e-05/0.3566, allocations: 43.86 kB / 0.9112 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.3e-05/0.3567, allocations: 23.91 kB / 0.9112 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.224e-05/0.3568, allocations: 19.92 kB / 0.9112 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.3568, allocations: 23.86 kB / 0.9113 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3569, allocations: 4 kB / 0.9113 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.3569, allocations: 19.98 kB / 0.9113 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.357, allocations: 4 kB / 0.9113 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.357, allocations: 27.8 kB / 0.9113 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3571, allocations: 51.86 kB / 0.9114 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3571, allocations: 0 / 0.9114 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.52e-07/0.3571, allocations: 0 / 0.9114 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.3571, allocations: 0 / 0.9114 GB, free: 9.723 MB / 0.7325 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.0005124/0.3577, allocations: 375.2 kB / 0.9117 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3577, allocations: 12.03 kB / 0.9117 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.3577, allocations: 4.938 kB / 0.9117 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3579, allocations: 172.3 kB / 0.9119 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3579, allocations: 8.312 kB / 0.9119 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.3579, allocations: 4.375 kB / 0.9119 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.3582, allocations: 70.22 kB / 0.912 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3582, allocations: 192 / 0.912 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3582, allocations: 3.938 kB / 0.912 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3582, allocations: 4 kB / 0.912 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.3585, allocations: 75.86 kB / 0.9121 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.3588, allocations: 280.7 kB / 0.9123 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.3591, allocations: 62.53 kB / 0.9124 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.3592, allocations: 32.92 kB / 0.9124 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.3594, allocations: 93.09 kB / 0.9125 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.3594, allocations: 34.5 kB / 0.9125 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3594, allocations: 4 kB / 0.9125 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005236/0.3599, allocations: 129.6 kB / 0.9127 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.36, allocations: 51.41 kB / 0.9127 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.3601, allocations: 117.8 kB / 0.9128 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.3601, allocations: 29.7 kB / 0.9128 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.3601, allocations: 104 kB / 0.9129 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.3602, allocations: 7.906 kB / 0.913 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.3602, allocations: 13.72 kB / 0.913 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3603, allocations: 322.8 kB / 0.9133 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3605, allocations: 27.97 kB / 0.9133 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3606, allocations: 39.95 kB / 0.9133 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.3609, allocations: 68.73 kB / 0.9134 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3609, allocations: 0 / 0.9134 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003146/0.3612, allocations: 105.5 kB / 0.9135 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3612, allocations: 4 kB / 0.9135 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3612, allocations: 0 / 0.9135 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.3612, allocations: 0 / 0.9135 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3614, allocations: 19.92 kB / 0.9135 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3614, allocations: 0 / 0.9135 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/0.3615, allocations: 11.98 kB / 0.9135 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3615, allocations: 0 / 0.9135 GB, free: 7.234 MB / 0.7325 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.247e-05/0.3616, allocations: 130.4 kB / 0.9137 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.3616, allocations: 3.938 kB / 0.9137 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.3619, allocations: 105.5 kB / 0.9138 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3619, allocations: 0 / 0.9138 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.362, allocations: 4 kB / 0.9138 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.362, allocations: 0 / 0.9138 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.3621, allocations: 177.5 kB / 0.9139 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3621, allocations: 4 kB / 0.9139 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.401e-05/0.3622, allocations: 15.98 kB / 0.914 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3622, allocations: 0 / 0.914 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.3623, allocations: 4 kB / 0.914 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3623, allocations: 0 / 0.914 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3623, allocations: 0 / 0.914 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.3626, allocations: 207.3 kB / 0.9142 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.3627, allocations: 81.02 kB / 0.9142 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.3627, allocations: 0 / 0.9142 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3628, allocations: 11.98 kB / 0.9143 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.3628, allocations: 3.984 kB / 0.9143 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3629, allocations: 4 kB / 0.9143 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.3629, allocations: 91.27 kB / 0.9143 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3629, allocations: 4 kB / 0.9144 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002347/0.3632, allocations: 23.94 kB / 0.9144 GB, free: 6.273 MB / 0.7325 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.000143/0.3633, allocations: 107.2 kB / 0.9145 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003386/0.3636, allocations: 68.28 kB / 0.9145 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3637, allocations: 0 / 0.9145 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.3638, allocations: 39.97 kB / 0.9146 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.3641, allocations: 16.11 kB / 0.9146 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.3645, allocations: 173.4 kB / 0.9148 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.3647, allocations: 0.6848 MB / 0.9154 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.3648, allocations: 0 / 0.9154 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.3648, allocations: 11.44 kB / 0.9154 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3648, allocations: 0 / 0.9154 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of Templates: time 0.002813/0.3676, allocations: 0.8558 MB / 0.9163 GB, free: 4.273 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)