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.000826/0.0008259, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006816/0.006816, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005667/0.0005667, allocations: 11.69 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3804, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001634/0.3821, allocations: 1.004 MB / 1.075 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1483/0.5304, allocations: 128.5 MB / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.5305, allocations: 0 / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.5305, allocations: 0 / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.752e-05/0.5306, allocations: 11.92 kB / 1.201 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.5309, allocations: 47.8 kB / 1.201 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.531, allocations: 23.88 kB / 1.201 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.531, allocations: 4 kB / 1.201 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.24e-05/0.5311, allocations: 15.97 kB / 1.201 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.5311, allocations: 7.938 kB / 1.201 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.5312, allocations: 0 / 1.201 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.5312, allocations: 15.98 kB / 1.201 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.5313, allocations: 0 / 1.201 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.5313, allocations: 33.64 kB / 1.201 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 9.494e-05/0.5314, allocations: 24.2 kB / 1.201 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5314, allocations: 0 / 1.201 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5314, allocations: 0 / 1.201 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.5314, allocations: 8 kB / 1.201 GB, free: 5.328 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.000374/0.5318, allocations: 323.6 kB / 1.201 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5319, allocations: 8.031 kB / 1.201 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.5319, allocations: 16.77 kB / 1.201 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.532, allocations: 164.3 kB / 1.201 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.5321, allocations: 34.2 kB / 1.201 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.5321, allocations: 384 / 1.201 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.5322, allocations: 38.25 kB / 1.201 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.5322, allocations: 7.938 kB / 1.201 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.5322, allocations: 4 kB / 1.201 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.5322, allocations: 0 / 1.201 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.164e-05/0.5323, allocations: 15.92 kB / 1.201 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.5325, allocations: 157.7 kB / 1.202 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.365e-05/0.5326, allocations: 34.55 kB / 1.202 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.5327, allocations: 16.86 kB / 1.202 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.5328, allocations: 89.19 kB / 1.202 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.5328, allocations: 34.56 kB / 1.202 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5328, allocations: 0 / 1.202 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002123/0.5331, allocations: 57.61 kB / 1.202 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.5331, allocations: 51.41 kB / 1.202 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.5332, allocations: 102.2 kB / 1.202 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.5332, allocations: 25.7 kB / 1.202 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.5332, allocations: 80.14 kB / 1.202 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.5333, allocations: 11.89 kB / 1.202 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.5333, allocations: 9.719 kB / 1.202 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.5334, allocations: 318.8 kB / 1.202 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.5334, allocations: 4 kB / 1.202 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.5335, allocations: 12.02 kB / 1.202 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.28e-05/0.5336, allocations: 28.84 kB / 1.202 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5336, allocations: 0 / 1.202 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001185/0.5337, allocations: 49.59 kB / 1.202 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5337, allocations: 13.66 kB / 1.202 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5337, allocations: 0 / 1.202 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.5337, allocations: 0 / 1.202 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.5338, allocations: 7.984 kB / 1.202 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.5338, allocations: 3.938 kB / 1.202 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.5339, allocations: 4 kB / 1.202 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.5339, allocations: 4 kB / 1.202 GB, free: 3.387 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.538e-05/0.5339, allocations: 109.8 kB / 1.203 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.534, allocations: 11.88 kB / 1.203 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.5341, allocations: 53.17 kB / 1.203 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5341, allocations: 0 / 1.203 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5341, allocations: 0 / 1.203 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.5341, allocations: 0 / 1.203 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.19e-05/0.5342, allocations: 153.7 kB / 1.203 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5342, allocations: 8 kB / 1.203 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.5343, allocations: 4 kB / 1.203 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5343, allocations: 3.938 kB / 1.203 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.5343, allocations: 0 / 1.203 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5343, allocations: 3.938 kB / 1.203 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5343, allocations: 0 / 1.203 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.5345, allocations: 77.11 kB / 1.203 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.5345, allocations: 85.02 kB / 1.203 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.5346, allocations: 19.86 kB / 1.203 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.692e-05/0.5346, allocations: 0 / 1.203 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.5346, allocations: 0 / 1.203 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.5346, allocations: 4 kB / 1.203 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.03e-05/0.5347, allocations: 79.28 kB / 1.203 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5347, allocations: 0 / 1.203 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001962/0.5349, allocations: 23.92 kB / 1.203 GB, free: 2.656 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.0001413/0.535, allocations: 106.1 kB / 1.203 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.5352, allocations: 28.28 kB / 1.203 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5352, allocations: 4 kB / 1.203 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.413e-05/0.5352, allocations: 4 kB / 1.203 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.5354, allocations: 7.984 kB / 1.203 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.5357, allocations: 148.4 kB / 1.203 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.536, allocations: 0.6772 MB / 1.204 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.536, allocations: 4 kB / 1.204 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.536, allocations: 11.44 kB / 1.204 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.536, allocations: 0 / 1.204 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of Templates: time 0.002656/0.5387, allocations: 493 kB / 1.204 GB, free: 1.133 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)