Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 81.08 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 169 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9476/0.9476, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001624/0.001624, allocations: 245.2 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7305/0.7305, allocations: 138.4 MB / 455.5 MB, free: 1.441 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5556 GB, free: 288 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.979e-05, allocations: 2.312 kB / 0.5556 GB, free: 284 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001886/0.001906, allocations: 1.537 MB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3155/0.3174, allocations: 125.2 MB / 0.6794 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.3175, allocations: 0 / 0.6794 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.3175, allocations: 10.48 kB / 0.6794 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.3176, allocations: 7.875 kB / 0.6794 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.3179, allocations: 68.06 kB / 0.6795 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.358e-05/0.3179, allocations: 62.06 kB / 0.6795 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.893e-05/0.318, allocations: 6.312 kB / 0.6795 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.3181, allocations: 30.69 kB / 0.6796 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.3181, allocations: 21.97 kB / 0.6796 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.3181, allocations: 5.219 kB / 0.6796 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.3182, allocations: 23.2 kB / 0.6796 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.3182, allocations: 10.64 kB / 0.6796 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.549e-05/0.3182, allocations: 13.25 kB / 0.6796 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.49e-05/0.3183, allocations: 52.84 kB / 0.6797 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3183, allocations: 3.938 kB / 0.6797 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3183, allocations: 0 / 0.6797 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.3183, allocations: 0 / 0.6797 GB, free: 24.49 MB / 0.5105 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.0002573/0.3186, allocations: 403.4 kB / 0.6801 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3186, allocations: 8.906 kB / 0.6801 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.3187, allocations: 3.844 kB / 0.6801 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.823e-05/0.3187, allocations: 117.6 kB / 0.6802 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3187, allocations: 3.25 kB / 0.6802 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-06/0.3187, allocations: 4.375 kB / 0.6802 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.572e-05/0.3188, allocations: 64.86 kB / 0.6803 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3188, allocations: 192 / 0.6803 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.3188, allocations: 4.375 kB / 0.6803 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.3188, allocations: 4.375 kB / 0.6803 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.3189, allocations: 13.11 kB / 0.6803 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.3191, allocations: 257 kB / 0.6805 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.674e-05/0.3191, allocations: 32.11 kB / 0.6806 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.391e-05/0.3191, allocations: 10.97 kB / 0.6806 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.711e-05/0.3192, allocations: 19.08 kB / 0.6806 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.3192, allocations: 33.39 kB / 0.6806 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.3192, allocations: 0 / 0.6806 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001073/0.3193, allocations: 55.19 kB / 0.6807 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.385e-05/0.3193, allocations: 51.41 kB / 0.6807 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.029e-05/0.3194, allocations: 173 kB / 0.6809 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.05e-06/0.3194, allocations: 29.7 kB / 0.6809 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.3194, allocations: 133.3 kB / 0.681 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.3194, allocations: 7.938 kB / 0.6811 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.3194, allocations: 26.31 kB / 0.6811 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.438e-05/0.3195, allocations: 499 kB / 0.6816 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.3195, allocations: 2.781 kB / 0.6816 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-06/0.3195, allocations: 4.172 kB / 0.6816 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.292e-05/0.3195, allocations: 23.67 kB / 0.6816 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3195, allocations: 4 kB / 0.6816 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.401e-05/0.3196, allocations: 46.39 kB / 0.6816 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.3196, allocations: 9.438 kB / 0.6816 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3196, allocations: 0.75 kB / 0.6816 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3196, allocations: 6.719 kB / 0.6816 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.087e-05/0.3196, allocations: 7.938 kB / 0.6817 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.3196, allocations: 0.5469 kB / 0.6817 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.3197, allocations: 6.734 kB / 0.6817 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3197, allocations: 2.875 kB / 0.6817 GB, free: 22.44 MB / 0.5105 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 3.49e-05/0.3197, allocations: 160.5 kB / 0.6818 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.3197, allocations: 2.938 kB / 0.6818 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.811e-05/0.3198, allocations: 65.86 kB / 0.6819 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3198, allocations: 0 / 0.6819 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.3198, allocations: 0 / 0.6819 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3198, allocations: 0 / 0.6819 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.85e-05/0.3199, allocations: 110.1 kB / 0.682 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3199, allocations: 0 / 0.682 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.3199, allocations: 8.344 kB / 0.682 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.3199, allocations: 0 / 0.682 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.3199, allocations: 7.984 kB / 0.682 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3199, allocations: 0.7812 kB / 0.682 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3199, allocations: 3.938 kB / 0.682 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.324e-05/0.32, allocations: 193.4 kB / 0.6822 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-06/0.32, allocations: 6.859 kB / 0.6822 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-06/0.32, allocations: 1.125 kB / 0.6822 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.32, allocations: 5.188 kB / 0.6822 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.32, allocations: 11.92 kB / 0.6822 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.32, allocations: 2.562 kB / 0.6822 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.876e-05/0.3201, allocations: 133.8 kB / 0.6823 GB, free: 21.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.3201, allocations: 0 / 0.6823 GB, free: 21.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001447/0.3202, allocations: 14.62 kB / 0.6824 GB, free: 21.74 MB / 0.5105 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 8.879e-05/0.3203, allocations: 109.5 kB / 0.6825 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.338e-05/0.3203, allocations: 16 kB / 0.6825 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.3204, allocations: 0 / 0.6825 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/0.3204, allocations: 25.02 kB / 0.6825 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.3205, allocations: 6.875 kB / 0.6825 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.3207, allocations: 155.5 kB / 0.6827 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.917e-05/0.3207, allocations: 58.16 kB / 0.6827 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.3208, allocations: 10.23 kB / 0.6827 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.3208, allocations: 82.06 kB / 0.6828 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/0.3208, allocations: 0 / 0.6828 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.002267/0.3231, allocations: 1.115 MB / 0.6839 GB, free: 20.76 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7853110670112073]