Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 179 kB / 327.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.4 MB / 0.5786 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009502/0.0009502, allocations: 89.89 kB / 0.6832 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 9.969 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.232, allocations: 106.3 MB / 0.9015 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001385/0.2335, allocations: 1.005 MB / 0.9024 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1438/0.3773, allocations: 128.5 MB / 1.028 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.3774, allocations: 7.875 kB / 1.028 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.3775, allocations: 0 / 1.028 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.3775, allocations: 3.984 kB / 1.028 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.3779, allocations: 47.8 kB / 1.028 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.8e-05/0.378, allocations: 23.86 kB / 1.028 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.3781, allocations: 4 kB / 1.028 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.095e-05/0.3781, allocations: 4 kB / 1.028 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.3782, allocations: 15.92 kB / 1.028 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.3782, allocations: 4 kB / 1.028 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.609e-05/0.3783, allocations: 12 kB / 1.028 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.3783, allocations: 3.984 kB / 1.028 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.3784, allocations: 45.56 kB / 1.028 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 8.004e-05/0.3785, allocations: 11.98 kB / 1.028 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3785, allocations: 0 / 1.028 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3785, allocations: 0 / 1.028 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3785, allocations: 0 / 1.028 GB, free: 13.66 MB / 0.6823 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.0004083/0.3789, allocations: 331.8 kB / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.379, allocations: 12.03 kB / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.379, allocations: 0.9375 kB / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.3792, allocations: 168.3 kB / 1.029 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.893e-05/0.3792, allocations: 30.25 kB / 1.029 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3793, allocations: 4.375 kB / 1.029 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3794, allocations: 38.25 kB / 1.029 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3794, allocations: 3.938 kB / 1.029 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3794, allocations: 0 / 1.029 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3794, allocations: 0 / 1.029 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.3795, allocations: 23.92 kB / 1.029 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.3797, allocations: 153.7 kB / 1.029 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.596e-05/0.3798, allocations: 34.61 kB / 1.029 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.3799, allocations: 8.859 kB / 1.029 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.3801, allocations: 93.12 kB / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3801, allocations: 34.56 kB / 1.029 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3801, allocations: 0 / 1.029 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002645/0.3804, allocations: 69.55 kB / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.3804, allocations: 51.41 kB / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.3805, allocations: 97.84 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3806, allocations: 25.7 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.3806, allocations: 80.14 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.3806, allocations: 11.84 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.3806, allocations: 4 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3808, allocations: 318.8 kB / 1.03 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/0.3808, allocations: 7.984 kB / 1.03 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.3809, allocations: 8 kB / 1.03 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.238e-05/0.381, allocations: 21.31 kB / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.381, allocations: 0 / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001234/0.3811, allocations: 53.62 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.3811, allocations: 13.66 kB / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3811, allocations: 0 / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3812, allocations: 8.016 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.3812, allocations: 8 kB / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3812, allocations: 0 / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.3813, allocations: 0 / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.3813, allocations: 0 / 1.03 GB, free: 11.74 MB / 0.6823 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.079e-05/0.3814, allocations: 109.8 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.3814, allocations: 7.844 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.3816, allocations: 69.11 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3816, allocations: 0 / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3816, allocations: 0 / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3816, allocations: 0 / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3817, allocations: 153.7 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3817, allocations: 0 / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.3818, allocations: 7.984 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3818, allocations: 3.938 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3818, allocations: 4 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3818, allocations: 8 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3818, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.382, allocations: 69.12 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.382, allocations: 81.09 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.3821, allocations: 3.938 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.064e-05/0.3821, allocations: 11.94 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.3821, allocations: 0 / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3822, allocations: 4 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.3822, allocations: 87.2 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3822, allocations: 0 / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001827/0.3824, allocations: 12 kB / 1.03 GB, free: 11.02 MB / 0.6823 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.0001835/0.3826, allocations: 119.1 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.3827, allocations: 19.98 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3827, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.267e-05/0.3828, allocations: 12 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3831, allocations: 22.31 kB / 1.031 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.3835, allocations: 170.1 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3838, allocations: 0.6731 MB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.3838, allocations: 7.438 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of SimCode: time 3.9e-07/0.3838, allocations: 0 / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.002158/0.386, allocations: 0.5687 MB / 1.032 GB, free: 9.359 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)