Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001526/0.001526, allocations: 196.5 kB / 16.25 MB, free: 6.625 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.354/1.354, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.666/1.666, allocations: 292.2 MB / 0.5485 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.001371/0.001371, allocations: 72.02 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2412, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002388/0.2436, allocations: 1.329 MB / 0.7842 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1278/0.3715, allocations: 130.1 MB / 0.9112 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.3716, allocations: 0 / 0.9112 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.3716, allocations: 3.984 kB / 0.9112 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/0.3717, allocations: 11.92 kB / 0.9112 GB, free: 10 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.3721, allocations: 51.55 kB / 0.9112 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.604e-05/0.3721, allocations: 19.88 kB / 0.9112 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.3722, allocations: 7.984 kB / 0.9112 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.3722, allocations: 11.94 kB / 0.9113 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.3723, allocations: 11.94 kB / 0.9113 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.3723, allocations: 3.984 kB / 0.9113 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.004e-05/0.3724, allocations: 11.98 kB / 0.9113 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.3724, allocations: 4 kB / 0.9113 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.3724, allocations: 11.94 kB / 0.9113 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.3726, allocations: 28.12 kB / 0.9113 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3726, allocations: 4 kB / 0.9113 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3726, allocations: 0 / 0.9113 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3726, allocations: 0 / 0.9113 GB, free: 9.844 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004445/0.373, allocations: 335.5 kB / 0.9117 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3731, allocations: 8.031 kB / 0.9117 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.3731, allocations: 4.938 kB / 0.9117 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3732, allocations: 168.3 kB / 0.9118 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-05/0.3733, allocations: 34.25 kB / 0.9119 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.3733, allocations: 384 / 0.9119 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.3734, allocations: 38.25 kB / 0.9119 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3735, allocations: 3.938 kB / 0.9119 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3735, allocations: 8 kB / 0.9119 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3735, allocations: 0 / 0.9119 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.3736, allocations: 11.98 kB / 0.9119 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.3737, allocations: 157.7 kB / 0.9121 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.3738, allocations: 34.55 kB / 0.9121 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.3739, allocations: 12.86 kB / 0.9121 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.3741, allocations: 93.19 kB / 0.9122 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3741, allocations: 30.56 kB / 0.9122 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3741, allocations: 4 kB / 0.9122 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002193/0.3743, allocations: 57.61 kB / 0.9123 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.3744, allocations: 51.41 kB / 0.9123 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.263e-05/0.3744, allocations: 105.8 kB / 0.9124 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.3745, allocations: 29.7 kB / 0.9125 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.3745, allocations: 80.14 kB / 0.9125 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.3745, allocations: 15.8 kB / 0.9126 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.3746, allocations: 13.72 kB / 0.9126 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3747, allocations: 314.8 kB / 0.9129 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.778e-05/0.3747, allocations: 7.984 kB / 0.9129 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.3748, allocations: 4 kB / 0.9129 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.519e-05/0.3748, allocations: 24.84 kB / 0.9129 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3749, allocations: 0 / 0.9129 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001189/0.375, allocations: 53.67 kB / 0.913 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.375, allocations: 11.88 kB / 0.913 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.375, allocations: 0 / 0.913 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.375, allocations: 3.938 kB / 0.913 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.3751, allocations: 11.94 kB / 0.913 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3751, allocations: 0 / 0.913 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.3751, allocations: 4 kB / 0.913 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.3752, allocations: 0 / 0.913 GB, free: 7.895 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 0.000109/0.3753, allocations: 118.5 kB / 0.9131 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.3753, allocations: 7.922 kB / 0.9131 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.3755, allocations: 57.19 kB / 0.9132 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3755, allocations: 0 / 0.9132 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3755, allocations: 0 / 0.9132 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3755, allocations: 4.547 kB / 0.9132 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.448e-05/0.3756, allocations: 149.6 kB / 0.9133 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3756, allocations: 0 / 0.9133 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.509e-05/0.3756, allocations: 15.92 kB / 0.9133 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3757, allocations: 3.938 kB / 0.9133 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3757, allocations: 8 kB / 0.9133 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3757, allocations: 0 / 0.9133 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3757, allocations: 0 / 0.9133 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.3758, allocations: 77.09 kB / 0.9134 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.3759, allocations: 81.05 kB / 0.9135 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3759, allocations: 7.938 kB / 0.9135 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.956e-05/0.3759, allocations: 4 kB / 0.9135 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.376, allocations: 7.984 kB / 0.9135 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.376, allocations: 0 / 0.9135 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.376, allocations: 79.28 kB / 0.9136 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.376, allocations: 0 / 0.9136 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001915/0.3762, allocations: 12 kB / 0.9136 GB, free: 7.164 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.0001355/0.3764, allocations: 111.2 kB / 0.9137 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.3765, allocations: 23.98 kB / 0.9137 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3765, allocations: 0 / 0.9137 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.3766, allocations: 11.98 kB / 0.9137 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.3768, allocations: 12 kB / 0.9137 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.3771, allocations: 135.6 kB / 0.9139 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.3774, allocations: 0.6845 MB / 0.9145 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.859e-05/0.3774, allocations: 0 / 0.9145 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.3774, allocations: 11.44 kB / 0.9146 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.3774, allocations: 0 / 0.9146 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of Templates: time 0.002228/0.3797, allocations: 0.501 MB / 0.915 GB, free: 5.625 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)