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.001898/0.001899, allocations: 102 kB / 16.27 MB, free: 5.969 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.002339/0.00234, allocations: 194.4 kB / 17.2 MB, free: 5.594 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.687/1.687, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.874/1.874, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001677/0.001677, allocations: 70.86 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2835, allocations: 114.5 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003176/0.2867, allocations: 1.27 MB / 0.7853 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6754/0.9622, allocations: 132 MB / 0.9142 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.9623, allocations: 1.281 kB / 0.9142 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.9624, allocations: 0 / 0.9142 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.9624, allocations: 9.062 kB / 0.9142 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.9629, allocations: 54.77 kB / 0.9143 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 8.707e-05/0.963, allocations: 30.27 kB / 0.9143 GB, free: 2 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 5.165e-05/0.9631, allocations: 6.297 kB / 0.9143 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.154e-05/0.9631, allocations: 5.562 kB / 0.9143 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.9632, allocations: 15.52 kB / 0.9143 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.9632, allocations: 1.25 kB / 0.9143 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.9633, allocations: 14.61 kB / 0.9143 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.9633, allocations: 5.031 kB / 0.9143 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.9634, allocations: 9.25 kB / 0.9143 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.9635, allocations: 22.7 kB / 0.9144 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9635, allocations: 0 / 0.9144 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9635, allocations: 4 kB / 0.9144 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.9636, allocations: 1.375 kB / 0.9144 GB, free: 1.957 MB / 0.7012 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.0004589/0.964, allocations: 330.2 kB / 0.9147 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.9641, allocations: 8.906 kB / 0.9147 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.9641, allocations: 8.375 kB / 0.9147 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.9643, allocations: 169.3 kB / 0.9149 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.9644, allocations: 28.58 kB / 0.9149 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.9644, allocations: 1.5 kB / 0.9149 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.9645, allocations: 44.12 kB / 0.9149 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.9646, allocations: 5.094 kB / 0.9149 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.9646, allocations: 3.938 kB / 0.9149 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.9646, allocations: 0 / 0.9149 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.9647, allocations: 16.08 kB / 0.915 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.9649, allocations: 152.9 kB / 0.9151 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.965, allocations: 32 kB / 0.9151 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.9651, allocations: 18.45 kB / 0.9152 GB, free: 1.062 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.9652, allocations: 90 kB / 0.9152 GB, free: 0.9648 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.9653, allocations: 30.56 kB / 0.9153 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.9653, allocations: 0 / 0.9153 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0002608/0.9655, allocations: 71.19 kB / 0.9153 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.9656, allocations: 56.5 kB / 0.9154 GB, free: 0.8008 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.9657, allocations: 97.7 kB / 0.9155 GB, free: 0.6992 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.9657, allocations: 25.7 kB / 0.9155 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.9658, allocations: 81.36 kB / 0.9156 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.9658, allocations: 13.2 kB / 0.9156 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.9658, allocations: 16.25 kB / 0.9156 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.9659, allocations: 312.2 kB / 0.9159 GB, free: 248 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.966, allocations: 3.812 kB / 0.9159 GB, free: 248 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.966, allocations: 16.55 kB / 0.9159 GB, free: 236 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.743e-05/0.9661, allocations: 23.28 kB / 0.9159 GB, free: 220 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.9662, allocations: 1.875 kB / 0.916 GB, free: 220 kB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001249/0.9663, allocations: 51.81 kB / 0.916 GB, free: 176 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.9663, allocations: 9.594 kB / 0.916 GB, free: 172 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.9663, allocations: 0 / 0.916 GB, free: 172 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.9663, allocations: 0 / 0.916 GB, free: 172 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/0.9664, allocations: 9.547 kB / 0.916 GB, free: 168 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.9664, allocations: 0 / 0.916 GB, free: 168 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.9665, allocations: 6.312 kB / 0.916 GB, free: 164 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.9665, allocations: 1.031 kB / 0.916 GB, free: 164 kB / 0.7012 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.181e-05/0.9666, allocations: 106.9 kB / 0.9161 GB, free: 48 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.9666, allocations: 5 kB / 0.9161 GB, free: 44 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.9668, allocations: 67.05 kB / 0.9162 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.9668, allocations: 1.406 kB / 0.9162 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9668, allocations: 0.75 kB / 0.9162 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.9668, allocations: 4 kB / 0.9162 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.967, allocations: 154.2 kB / 0.9163 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.967, allocations: 3.938 kB / 0.9164 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.967, allocations: 4.812 kB / 0.9164 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.967, allocations: 3.938 kB / 0.9164 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.967, allocations: 3 kB / 0.9164 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.967, allocations: 2.625 kB / 0.9164 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9671, allocations: 3.984 kB / 0.9164 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.9672, allocations: 72.84 kB / 0.9164 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.9673, allocations: 79.89 kB / 0.9165 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.9673, allocations: 15.86 kB / 0.9165 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.165e-05/0.9674, allocations: 1.219 kB / 0.9165 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.9674, allocations: 2.25 kB / 0.9165 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.9674, allocations: 0 / 0.9165 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.94e-05/0.9675, allocations: 82.94 kB / 0.9166 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9675, allocations: 0 / 0.9166 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002058/0.9677, allocations: 17.2 kB / 0.9166 GB, free: 15.51 MB / 0.7169 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.0001927/0.9679, allocations: 107 kB / 0.9167 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.9681, allocations: 25 kB / 0.9168 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9681, allocations: 0 / 0.9168 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.936e-05/0.9682, allocations: 16.19 kB / 0.9168 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.9685, allocations: 9.797 kB / 0.9168 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.9688, allocations: 148.5 kB / 0.9169 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.9691, allocations: 0.6759 MB / 0.9176 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.9691, allocations: 14.08 kB / 0.9176 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.9691, allocations: 0 / 0.9176 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of Templates: time 0.002171/0.9713, allocations: 0.5742 MB / 0.9182 GB, free: 14.26 MB / 0.7169 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)