Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001102/0.001102, allocations: 99.36 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.001083/0.001083, allocations: 193 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 62.69 kB / 0.9115 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3285, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002902/0.3314, allocations: 1.558 MB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1438/0.4753, allocations: 130.1 MB / 1.196 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.08e-05/0.4754, allocations: 3.938 kB / 1.196 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.462e-05/0.4755, allocations: 0 / 1.196 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.193e-05/0.4756, allocations: 15.91 kB / 1.196 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.4761, allocations: 63.8 kB / 1.196 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.4762, allocations: 51.73 kB / 1.196 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.4763, allocations: 28.19 kB / 1.196 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.43e-05/0.4764, allocations: 23.92 kB / 1.196 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.4765, allocations: 19.92 kB / 1.196 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.4765, allocations: 4 kB / 1.196 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.4766, allocations: 19.98 kB / 1.196 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.4766, allocations: 11.92 kB / 1.196 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.4767, allocations: 19.92 kB / 1.196 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.4769, allocations: 55.81 kB / 1.197 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4769, allocations: 0 / 1.197 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4769, allocations: 0 / 1.197 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.4769, allocations: 0 / 1.197 GB, free: 6.332 MB / 0.9512 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.0005641/0.4775, allocations: 381 kB / 1.197 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4775, allocations: 8.031 kB / 1.197 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.4776, allocations: 4.938 kB / 1.197 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.4777, allocations: 180.2 kB / 1.197 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.4777, allocations: 384 / 1.197 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.4777, allocations: 4.375 kB / 1.197 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.478, allocations: 78.2 kB / 1.197 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.478, allocations: 192 / 1.197 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.4781, allocations: 7.938 kB / 1.197 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.4781, allocations: 0 / 1.197 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.4784, allocations: 63.92 kB / 1.197 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.4788, allocations: 288.7 kB / 1.198 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.479, allocations: 58.48 kB / 1.198 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.4791, allocations: 36.91 kB / 1.198 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.4793, allocations: 97.09 kB / 1.198 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.4794, allocations: 34.56 kB / 1.198 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4794, allocations: 0 / 1.198 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005328/0.4799, allocations: 125.5 kB / 1.198 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.48, allocations: 55.41 kB / 1.198 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.4801, allocations: 129.6 kB / 1.198 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4801, allocations: 25.7 kB / 1.198 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.4802, allocations: 95.98 kB / 1.198 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.4802, allocations: 3.906 kB / 1.198 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.4802, allocations: 21.7 kB / 1.198 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4804, allocations: 314.8 kB / 1.198 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.4805, allocations: 31.97 kB / 1.199 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.4806, allocations: 35.95 kB / 1.199 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.4809, allocations: 68.78 kB / 1.199 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4809, allocations: 0 / 1.199 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000306/0.4812, allocations: 101.6 kB / 1.199 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.4813, allocations: 5.562 kB / 1.199 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4813, allocations: 0 / 1.199 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4813, allocations: 0 / 1.199 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4814, allocations: 15.98 kB / 1.199 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4814, allocations: 0 / 1.199 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.4815, allocations: 27.88 kB / 1.199 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.4815, allocations: 0 / 1.199 GB, free: 3.836 MB / 0.9512 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.109e-05/0.4816, allocations: 113.8 kB / 1.199 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.4817, allocations: 336 / 1.199 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.482, allocations: 113.4 kB / 1.199 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.482, allocations: 4 kB / 1.199 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.482, allocations: 4 kB / 1.199 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4821, allocations: 0 / 1.199 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.4822, allocations: 173.6 kB / 1.199 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4822, allocations: 0 / 1.199 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.4824, allocations: 19.98 kB / 1.199 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4824, allocations: 0 / 1.199 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4824, allocations: 0 / 1.199 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4824, allocations: 0 / 1.199 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4824, allocations: 0 / 1.199 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.4828, allocations: 211.2 kB / 1.199 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.4828, allocations: 77.11 kB / 1.199 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4828, allocations: 0 / 1.199 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.4829, allocations: 11.98 kB / 1.199 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.483, allocations: 15.92 kB / 1.199 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.483, allocations: 7.938 kB / 1.199 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.993e-05/0.4831, allocations: 91.27 kB / 1.2 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4831, allocations: 0 / 1.2 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002371/0.4833, allocations: 23.84 kB / 1.2 GB, free: 2.879 MB / 0.9512 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.0001536/0.4835, allocations: 107.3 kB / 1.2 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.4838, allocations: 75.92 kB / 1.2 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4838, allocations: 0 / 1.2 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.484, allocations: 39.91 kB / 1.2 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.4843, allocations: 11.92 kB / 1.2 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.4847, allocations: 175.7 kB / 1.2 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.4849, allocations: 0.6807 MB / 1.201 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.728e-05/0.485, allocations: 0 / 1.201 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.485, allocations: 11.44 kB / 1.201 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.485, allocations: 4 kB / 1.201 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of Templates: time 0.003406/0.4884, allocations: 0.892 MB / 1.202 GB, free: 0.8398 MB / 0.9512 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)