Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004634/0.004634, allocations: 106.5 kB / 15.74 MB, free: 5.578 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.00107/0.00107, allocations: 189.6 kB / 16.67 MB, free: 5.516 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 294.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9196/0.9196, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 99.84 kB / 0.6814 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4216, allocations: 86.97 MB / 0.7663 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002632/0.4243, allocations: 1.818 MB / 0.7681 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002635/0.4246, allocations: 121.4 kB / 0.7682 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.508e-05/0.4246, allocations: 0 / 0.7682 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.397e-05/0.4247, allocations: 15.8 kB / 0.7683 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.155e-05/0.4248, allocations: 51.55 kB / 0.7683 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.425, allocations: 35.95 kB / 0.7683 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.4252, allocations: 171.1 kB / 0.7685 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.4253, allocations: 28.75 kB / 0.7685 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.4254, allocations: 59.78 kB / 0.7686 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.4255, allocations: 63.7 kB / 0.7686 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.4255, allocations: 15.94 kB / 0.7687 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.333e-05/0.4255, allocations: 12 kB / 0.7687 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.4256, allocations: 27.91 kB / 0.7687 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.4256, allocations: 63.67 kB / 0.7688 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.4258, allocations: 126.2 kB / 0.7689 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4258, allocations: 0 / 0.7689 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.066e-06/0.4258, allocations: 0 / 0.7689 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.4258, allocations: 3.938 kB / 0.7689 GB, free: 1.387 MB / 0.5294 GB 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.0007154/0.4265, allocations: 450.8 kB / 0.7693 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.4266, allocations: 12.03 kB / 0.7693 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.4266, allocations: 8.844 kB / 0.7693 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.4268, allocations: 222.3 kB / 0.7695 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.4269, allocations: 4.375 kB / 0.7695 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.4269, allocations: 8.375 kB / 0.7696 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.4271, allocations: 119.9 kB / 0.7697 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4272, allocations: 192 / 0.7697 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.4272, allocations: 7.938 kB / 0.7697 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.4272, allocations: 4 kB / 0.7697 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.4275, allocations: 99.86 kB / 0.7698 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/0.4282, allocations: 472.7 kB / 0.7702 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.4285, allocations: 121.2 kB / 0.7703 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.4287, allocations: 69.7 kB / 0.7704 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.4287, allocations: 8 kB / 0.7704 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.4288, allocations: 30.56 kB / 0.7704 GB, free: 15.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.4288, allocations: 0 / 0.7704 GB, free: 15.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0005453/0.4293, allocations: 185.4 kB / 0.7706 GB, free: 15.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.4294, allocations: 77.11 kB / 0.7707 GB, free: 15.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.4295, allocations: 168.1 kB / 0.7709 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.4295, allocations: 29.7 kB / 0.7709 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.4296, allocations: 108 kB / 0.771 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.4296, allocations: 23.66 kB / 0.771 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.4297, allocations: 25.61 kB / 0.771 GB, free: 14.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.4298, allocations: 334.8 kB / 0.7714 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.4299, allocations: 39.97 kB / 0.7714 GB, free: 14.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.4301, allocations: 57.62 kB / 0.7714 GB, free: 14.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.4304, allocations: 113.6 kB / 0.7716 GB, free: 14.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4304, allocations: 0 / 0.7716 GB, free: 14.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003323/0.4307, allocations: 141.5 kB / 0.7717 GB, free: 14.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.4307, allocations: 4 kB / 0.7717 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4307, allocations: 384 / 0.7717 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.4308, allocations: 4 kB / 0.7717 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.4309, allocations: 19.98 kB / 0.7717 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4309, allocations: 0 / 0.7717 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.431, allocations: 35.77 kB / 0.7718 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.4311, allocations: 3.938 kB / 0.7718 GB, free: 14.18 MB / 0.545 GB 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 8.741e-05/0.4312, allocations: 117.8 kB / 0.7719 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.4312, allocations: 7.906 kB / 0.7719 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/0.4316, allocations: 166.5 kB / 0.772 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4316, allocations: 0 / 0.772 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4317, allocations: 4 kB / 0.772 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4317, allocations: 0 / 0.772 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.4319, allocations: 221.5 kB / 0.7722 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4319, allocations: 240 / 0.7723 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.4321, allocations: 27.92 kB / 0.7723 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4321, allocations: 3.984 kB / 0.7723 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4321, allocations: 4 kB / 0.7723 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4321, allocations: 0 / 0.7723 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4321, allocations: 7.984 kB / 0.7723 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.4325, allocations: 310.6 kB / 0.7726 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.4326, allocations: 92.86 kB / 0.7727 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.4326, allocations: 3.984 kB / 0.7727 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.4328, allocations: 8 kB / 0.7727 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.4328, allocations: 15.98 kB / 0.7727 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.4329, allocations: 3.938 kB / 0.7727 GB, free: 13.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.697e-05/0.433, allocations: 133.8 kB / 0.7728 GB, free: 12.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.433, allocations: 0 / 0.7728 GB, free: 12.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002787/0.4332, allocations: 24 kB / 0.7729 GB, free: 12.95 MB / 0.545 GB 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 9.668e-05/0.4333, allocations: 103.2 kB / 0.773 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.4337, allocations: 104.2 kB / 0.7731 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4337, allocations: 0 / 0.7731 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.4339, allocations: 55.91 kB / 0.7731 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.4343, allocations: 52.31 kB / 0.7732 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.4347, allocations: 219.7 kB / 0.7734 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.435, allocations: 0.7044 MB / 0.7741 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.137e-05/0.4351, allocations: 16.64 kB / 0.7741 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.4351, allocations: 11.44 kB / 0.7741 GB, free: 11.63 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/0.4351, allocations: 4 kB / 0.7741 GB, free: 11.62 MB / 0.545 GB Notification: Performance of Templates: time 0.004402/0.4395, allocations: 2.116 MB / 0.7762 GB, free: 9.566 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)