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.418/1.418, allocations: 252 MB / 267.6 MB, free: 10.91 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.001097/0.001097, allocations: 180.2 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0008426/0.0008427, allocations: 97.66 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003324, allocations: 13.53 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2385, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001705/0.2403, allocations: 0.9971 MB / 0.9018 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1409/0.3812, allocations: 119.6 MB / 1.019 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.3813, allocations: 0 / 1.019 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.3814, allocations: 3.938 kB / 1.019 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 7.957e-05/0.3815, allocations: 11.91 kB / 1.019 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.3818, allocations: 47.81 kB / 1.019 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.3819, allocations: 19.92 kB / 1.019 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.382, allocations: 0 / 1.019 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.382, allocations: 15.92 kB / 1.019 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.3821, allocations: 8 kB / 1.019 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3822, allocations: 0 / 1.019 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 7.028e-05/0.3822, allocations: 19.92 kB / 1.019 GB, free: 6.832 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.3822, allocations: 0 / 1.019 GB, free: 6.832 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.3823, allocations: 25.7 kB / 1.019 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 8.538e-05/0.3824, allocations: 23.97 kB / 1.019 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3824, allocations: 0 / 1.019 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3824, allocations: 0 / 1.019 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3824, allocations: 0 / 1.019 GB, free: 6.777 MB / 0.6667 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.0004676/0.3829, allocations: 327.6 kB / 1.019 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3829, allocations: 12.03 kB / 1.019 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.383, allocations: 0 / 1.019 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.3831, allocations: 167 kB / 1.019 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/0.3832, allocations: 25.7 kB / 1.019 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3832, allocations: 8 kB / 1.019 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.3834, allocations: 41.61 kB / 1.019 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3834, allocations: 0 / 1.019 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3834, allocations: 3.938 kB / 1.019 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3834, allocations: 0 / 1.019 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.404e-05/0.3835, allocations: 16 kB / 1.019 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.3837, allocations: 161.5 kB / 1.019 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3839, allocations: 30.61 kB / 1.02 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.309e-05/0.384, allocations: 12.86 kB / 1.02 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.3842, allocations: 93.12 kB / 1.02 GB, free: 5.719 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3842, allocations: 34.56 kB / 1.02 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.3842, allocations: 0 / 1.02 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002657/0.3845, allocations: 57.67 kB / 1.02 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.3846, allocations: 55.41 kB / 1.02 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.3847, allocations: 106 kB / 1.02 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3847, allocations: 25.7 kB / 1.02 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.3847, allocations: 80.14 kB / 1.02 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.3848, allocations: 15.84 kB / 1.02 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.3848, allocations: 0 / 1.02 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3849, allocations: 314.8 kB / 1.02 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.582e-05/0.385, allocations: 7.984 kB / 1.02 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.644e-05/0.385, allocations: 15.94 kB / 1.02 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.34e-05/0.3851, allocations: 7.984 kB / 1.02 GB, free: 4.957 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3851, allocations: 0 / 1.02 GB, free: 4.957 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001197/0.3852, allocations: 45.69 kB / 1.02 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.3852, allocations: 12 kB / 1.02 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3853, allocations: 0 / 1.02 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3853, allocations: 4 kB / 1.02 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.74e-05/0.3854, allocations: 4 kB / 1.02 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3854, allocations: 0 / 1.02 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.3854, allocations: 7.984 kB / 1.02 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3854, allocations: 0 / 1.02 GB, free: 4.879 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.713e-05/0.3855, allocations: 113.8 kB / 1.02 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.3856, allocations: 11.91 kB / 1.021 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.3857, allocations: 57.11 kB / 1.021 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3858, allocations: 0 / 1.021 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3858, allocations: 0 / 1.021 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3858, allocations: 0 / 1.021 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.3859, allocations: 157.6 kB / 1.021 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3859, allocations: 0 / 1.021 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/0.386, allocations: 8 kB / 1.021 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.386, allocations: 0 / 1.021 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.386, allocations: 0 / 1.021 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.386, allocations: 4 kB / 1.021 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.386, allocations: 0 / 1.021 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.3862, allocations: 84.98 kB / 1.021 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.3863, allocations: 81.06 kB / 1.021 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3863, allocations: 0 / 1.021 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.032e-05/0.3863, allocations: 7.984 kB / 1.021 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.3864, allocations: 0 / 1.021 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.3864, allocations: 7.938 kB / 1.021 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.3864, allocations: 83.28 kB / 1.021 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1e-07/0.3864, allocations: 0 / 1.021 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001886/0.3866, allocations: 12 kB / 1.021 GB, free: 4.156 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001807/0.3868, allocations: 107.2 kB / 1.021 GB, free: 4.039 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.387, allocations: 20.55 kB / 1.021 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.387, allocations: 0 / 1.021 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.403e-05/0.3871, allocations: 19.92 kB / 1.021 GB, free: 4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.3873, allocations: 4 kB / 1.021 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.3877, allocations: 170.1 kB / 1.021 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.388, allocations: 0.677 MB / 1.022 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.388, allocations: 7.438 kB / 1.022 GB, free: 3.086 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/0.388, allocations: 0 / 1.022 GB, free: 3.086 MB / 0.6667 GB Notification: Performance of Templates: time 0.002194/0.3902, allocations: 0.5718 MB / 1.023 GB, free: 2.512 MB / 0.6667 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)