Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4762/0.4762, allocations: 87.51 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009833/0.0009833, allocations: 106.3 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 51.92 kB / 0.4891 GB, free: 7.727 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3174, allocations: 70.06 MB / 0.5575 GB, free: 44.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002832/0.3203, allocations: 1.889 MB / 0.5593 GB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000245/0.3206, allocations: 115.1 kB / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.3207, allocations: 7.938 kB / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.3208, allocations: 7.922 kB / 0.5594 GB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.166e-05/0.3209, allocations: 39.62 kB / 0.5595 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.321, allocations: 37.86 kB / 0.5595 GB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3212, allocations: 163.1 kB / 0.5597 GB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3213, allocations: 25.11 kB / 0.5597 GB, free: 42.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.927e-05/0.3214, allocations: 47.84 kB / 0.5597 GB, free: 42.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.554e-05/0.3215, allocations: 67.7 kB / 0.5598 GB, free: 42.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3215, allocations: 4 kB / 0.5598 GB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.443e-05/0.3215, allocations: 4 kB / 0.5598 GB, free: 42.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.3216, allocations: 23.84 kB / 0.5598 GB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.3216, allocations: 63.66 kB / 0.5599 GB, free: 42.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3218, allocations: 121.7 kB / 0.56 GB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3218, allocations: 4 kB / 0.56 GB, free: 42.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3218, allocations: 0 / 0.56 GB, free: 42.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3218, allocations: 0 / 0.56 GB, free: 42.61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007084/0.3225, allocations: 446.9 kB / 0.5604 GB, free: 42.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3225, allocations: 8.031 kB / 0.5605 GB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.3226, allocations: 16.75 kB / 0.5605 GB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.3228, allocations: 208 kB / 0.5607 GB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3228, allocations: 8.312 kB / 0.5607 GB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3228, allocations: 8.375 kB / 0.5607 GB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.323, allocations: 115.8 kB / 0.5608 GB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3231, allocations: 192 / 0.5608 GB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3231, allocations: 11.94 kB / 0.5608 GB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3231, allocations: 0 / 0.5608 GB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.3234, allocations: 95.92 kB / 0.5609 GB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.3241, allocations: 468.6 kB / 0.5613 GB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.3245, allocations: 137.2 kB / 0.5615 GB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.3246, allocations: 69.7 kB / 0.5615 GB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.3247, allocations: 0 / 0.5615 GB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.3247, allocations: 42.56 kB / 0.5616 GB, free: 40.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.3247, allocations: 0 / 0.5616 GB, free: 40.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005026/0.3252, allocations: 181.4 kB / 0.5618 GB, free: 40.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.3252, allocations: 77.11 kB / 0.5618 GB, free: 40.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3253, allocations: 174.4 kB / 0.562 GB, free: 40.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.3254, allocations: 29.7 kB / 0.562 GB, free: 40.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.3254, allocations: 104 kB / 0.5621 GB, free: 40.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.3254, allocations: 31.62 kB / 0.5622 GB, free: 40.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.3255, allocations: 33.64 kB / 0.5622 GB, free: 40.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.3255, allocations: 326.8 kB / 0.5625 GB, free: 39.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.3257, allocations: 39.97 kB / 0.5625 GB, free: 39.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.3258, allocations: 61.69 kB / 0.5626 GB, free: 39.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.326, allocations: 101.9 kB / 0.5627 GB, free: 39.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.326, allocations: 0 / 0.5627 GB, free: 39.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002934/0.3263, allocations: 149.5 kB / 0.5628 GB, free: 39.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3264, allocations: 9.562 kB / 0.5628 GB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3264, allocations: 0 / 0.5628 GB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3264, allocations: 0 / 0.5628 GB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3265, allocations: 19.98 kB / 0.5629 GB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3265, allocations: 7.938 kB / 0.5629 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3267, allocations: 15.83 kB / 0.5629 GB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3267, allocations: 7.938 kB / 0.5629 GB, free: 39.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.238e-05/0.3267, allocations: 121.8 kB / 0.563 GB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.3268, allocations: 11.91 kB / 0.563 GB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.3272, allocations: 158.4 kB / 0.5632 GB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3272, allocations: 7.938 kB / 0.5632 GB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3272, allocations: 0 / 0.5632 GB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3272, allocations: 0 / 0.5632 GB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.3274, allocations: 221.5 kB / 0.5634 GB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3274, allocations: 4 kB / 0.5634 GB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.3276, allocations: 20.17 kB / 0.5634 GB, free: 38.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3276, allocations: 4 kB / 0.5634 GB, free: 38.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3276, allocations: 7.984 kB / 0.5634 GB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3276, allocations: 0 / 0.5634 GB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3276, allocations: 192 / 0.5634 GB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.3282, allocations: 0.9299 MB / 0.5643 GB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.3282, allocations: 85 kB / 0.5644 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3283, allocations: 7.938 kB / 0.5644 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.3284, allocations: 11.98 kB / 0.5644 GB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.3285, allocations: 8 kB / 0.5644 GB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.3285, allocations: 4 kB / 0.5644 GB, free: 37.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.879e-05/0.3286, allocations: 128.2 kB / 0.5646 GB, free: 37.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3286, allocations: 0 / 0.5646 GB, free: 37.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003514/0.3289, allocations: 31.94 kB / 0.5646 GB, free: 37.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 6.677e-05/0.329, allocations: 99.19 kB / 0.5647 GB, free: 37.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002963/0.3293, allocations: 99.94 kB / 0.5648 GB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3293, allocations: 0 / 0.5648 GB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.3295, allocations: 55.91 kB / 0.5648 GB, free: 37.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.3299, allocations: 40.28 kB / 0.5649 GB, free: 37.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.3303, allocations: 408 kB / 0.5653 GB, free: 36.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.3305, allocations: 0.7165 MB / 0.566 GB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.08e-05/0.3306, allocations: 8.656 kB / 0.566 GB, free: 36.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.3306, allocations: 15.44 kB / 0.566 GB, free: 36.01 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3306, allocations: 0 / 0.566 GB, free: 36.01 MB / 410.7 MB Notification: Performance of Templates: time 0.003492/0.3341, allocations: 1.972 MB / 0.5679 GB, free: 34.09 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)