Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.00117/0.00117, 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.001825/0.001825, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 61.12 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3147, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002221/0.317, allocations: 1.339 MB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.455, allocations: 130.1 MB / 1.196 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.4551, allocations: 0 / 1.196 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.4552, allocations: 0 / 1.196 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.4553, allocations: 7.984 kB / 1.196 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.4558, allocations: 51.8 kB / 1.196 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.627e-05/0.4559, allocations: 27.86 kB / 1.196 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.097e-05/0.456, allocations: 3.984 kB / 1.196 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.203e-05/0.4561, allocations: 4 kB / 1.196 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.4562, allocations: 15.92 kB / 1.196 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.4562, allocations: 4 kB / 1.196 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.24e-05/0.4563, allocations: 15.94 kB / 1.196 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.4563, allocations: 3.984 kB / 1.196 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.4564, allocations: 11.94 kB / 1.196 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.4565, allocations: 28.19 kB / 1.196 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4565, allocations: 0 / 1.196 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.277e-06/0.4565, allocations: 0 / 1.196 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4565, allocations: 0 / 1.196 GB, free: 6.801 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004351/0.457, allocations: 331.5 kB / 1.196 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.457, allocations: 12.03 kB / 1.196 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.4571, allocations: 4.844 kB / 1.197 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.4572, allocations: 168.3 kB / 1.197 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/0.4573, allocations: 34.27 kB / 1.197 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.4573, allocations: 384 / 1.197 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.4574, allocations: 42.25 kB / 1.197 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4575, allocations: 3.938 kB / 1.197 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.4575, allocations: 0 / 1.197 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4575, allocations: 0 / 1.197 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.448e-05/0.4576, allocations: 15.92 kB / 1.197 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.4577, allocations: 153.7 kB / 1.197 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.4578, allocations: 30.58 kB / 1.197 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.4579, allocations: 20.94 kB / 1.197 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.4581, allocations: 89.09 kB / 1.197 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.4581, allocations: 30.56 kB / 1.197 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4581, allocations: 0 / 1.197 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002266/0.4583, allocations: 65.55 kB / 1.197 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.4584, allocations: 55.41 kB / 1.197 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.4585, allocations: 93.86 kB / 1.197 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.4585, allocations: 25.7 kB / 1.197 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.4585, allocations: 84.14 kB / 1.197 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.4585, allocations: 7.812 kB / 1.197 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.4586, allocations: 21.7 kB / 1.197 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.4587, allocations: 318.8 kB / 1.198 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.4587, allocations: 4 kB / 1.198 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.215e-05/0.4588, allocations: 11.98 kB / 1.198 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.178e-05/0.4589, allocations: 25.31 kB / 1.198 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4589, allocations: 0 / 1.198 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001144/0.459, allocations: 49.62 kB / 1.198 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.459, allocations: 11.94 kB / 1.198 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.459, allocations: 0 / 1.198 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.459, allocations: 8.031 kB / 1.198 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.4591, allocations: 4 kB / 1.198 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.4591, allocations: 0 / 1.198 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.4592, allocations: 11.92 kB / 1.198 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.4592, allocations: 4 kB / 1.198 GB, free: 4.848 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 6.926e-05/0.4593, allocations: 105.8 kB / 1.198 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.4593, allocations: 7.938 kB / 1.198 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.4594, allocations: 61.11 kB / 1.198 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4594, allocations: 4 kB / 1.198 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4595, allocations: 0 / 1.198 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4595, allocations: 0 / 1.198 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.975e-05/0.4596, allocations: 153.7 kB / 1.198 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4596, allocations: 0 / 1.198 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.4596, allocations: 8 kB / 1.198 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.4596, allocations: 3.938 kB / 1.198 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.4596, allocations: 0 / 1.198 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4596, allocations: 0 / 1.198 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4597, allocations: 0 / 1.198 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.4598, allocations: 84.95 kB / 1.198 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.4599, allocations: 77.11 kB / 1.198 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.4599, allocations: 11.94 kB / 1.198 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.99e-05/0.4599, allocations: 3.984 kB / 1.198 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.4599, allocations: 0 / 1.198 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.46, allocations: 4 kB / 1.198 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.888e-05/0.46, allocations: 75.28 kB / 1.198 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.46, allocations: 4 kB / 1.198 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001961/0.4602, allocations: 11.94 kB / 1.198 GB, free: 4.137 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.0001507/0.4604, allocations: 121.2 kB / 1.199 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.4605, allocations: 19.97 kB / 1.199 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4605, allocations: 0 / 1.199 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.4606, allocations: 15.94 kB / 1.199 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.4608, allocations: 4 kB / 1.199 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.4611, allocations: 135.6 kB / 1.199 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.4613, allocations: 0.6729 MB / 1.199 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.273e-05/0.4614, allocations: 8 kB / 1.199 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.4614, allocations: 7.438 kB / 1.199 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of SimCode: time 1.413e-06/0.4614, allocations: 0 / 1.199 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of Templates: time 0.002572/0.464, allocations: 0.5023 MB / 1.2 GB, free: 2.598 MB / 0.9512 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)