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.001513/0.001513, allocations: 109 kB / 16.41 MB, free: 6.5 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.001721/0.001721, allocations: 183 kB / 17.34 MB, free: 5.762 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002236/0.002236, allocations: 297.9 kB / 291.5 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 1.091/1.091, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 91.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6249/0.6269, allocations: 86.98 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003284/0.6303, allocations: 1.815 MB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004135/0.6307, allocations: 121.3 kB / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.6309, allocations: 4 kB / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.631, allocations: 15.8 kB / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.6311, allocations: 43.56 kB / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.6313, allocations: 31.95 kB / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.6316, allocations: 183 kB / 0.7692 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.6317, allocations: 24.78 kB / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.897e-05/0.6318, allocations: 51.84 kB / 0.7692 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.6319, allocations: 71.69 kB / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.632, allocations: 12 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.762e-05/0.632, allocations: 11.94 kB / 0.7693 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.6321, allocations: 19.92 kB / 0.7693 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.6321, allocations: 75.64 kB / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.6323, allocations: 126.1 kB / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6324, allocations: 0 / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.637e-06/0.6324, allocations: 0 / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.6324, allocations: 3.938 kB / 0.7695 GB, free: 1.316 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.0008088/0.6332, allocations: 450.8 kB / 0.77 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.6332, allocations: 12.03 kB / 0.77 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.6333, allocations: 16.83 kB / 0.77 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.6336, allocations: 210.4 kB / 0.7702 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.6336, allocations: 8.359 kB / 0.7702 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.6337, allocations: 8.375 kB / 0.7702 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.634, allocations: 115.8 kB / 0.7703 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.634, allocations: 192 / 0.7703 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.634, allocations: 19.94 kB / 0.7703 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.634, allocations: 0 / 0.7703 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.6343, allocations: 87.94 kB / 0.7704 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007849/0.6351, allocations: 476.6 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.6355, allocations: 129.2 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.6357, allocations: 61.78 kB / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.6357, allocations: 4 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.6358, allocations: 30.56 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.6358, allocations: 0 / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.000591/0.6364, allocations: 185.3 kB / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.6364, allocations: 85.11 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.6366, allocations: 164.1 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.6366, allocations: 29.7 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.6367, allocations: 104 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.6368, allocations: 27.72 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.6368, allocations: 29.62 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6369, allocations: 322.8 kB / 0.772 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.6371, allocations: 51.91 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.6373, allocations: 61.67 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.6375, allocations: 93.86 kB / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6375, allocations: 0 / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003592/0.6379, allocations: 149.4 kB / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.6379, allocations: 4 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.638, allocations: 4.375 kB / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.638, allocations: 0 / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.6381, allocations: 27.97 kB / 0.7724 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6381, allocations: 0 / 0.7724 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.6383, allocations: 27.77 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.6383, allocations: 7.938 kB / 0.7724 GB, free: 14.11 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 0.0001113/0.6384, allocations: 125.8 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.6385, allocations: 11.91 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/0.6389, allocations: 150.5 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6389, allocations: 4 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6389, allocations: 3.984 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6389, allocations: 0 / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.6392, allocations: 233.4 kB / 0.7729 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6392, allocations: 0 / 0.7729 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.6394, allocations: 19.98 kB / 0.7729 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6394, allocations: 240 / 0.7729 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.6394, allocations: 0 / 0.7729 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.6394, allocations: 4 kB / 0.7729 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6394, allocations: 0 / 0.7729 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.6399, allocations: 318.5 kB / 0.7732 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.6399, allocations: 92.86 kB / 0.7733 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.64, allocations: 4 kB / 0.7733 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.6401, allocations: 11.98 kB / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.6402, allocations: 7.984 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.6402, allocations: 7.938 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001307/0.6404, allocations: 137.7 kB / 0.7735 GB, free: 12.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6404, allocations: 0 / 0.7735 GB, free: 12.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002867/0.6407, allocations: 28 kB / 0.7735 GB, free: 12.88 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 0.0001129/0.6408, allocations: 95.25 kB / 0.7736 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003625/0.6412, allocations: 107.9 kB / 0.7737 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6412, allocations: 0 / 0.7737 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.6413, allocations: 55.97 kB / 0.7738 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.6418, allocations: 44.44 kB / 0.7738 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.6423, allocations: 249.3 kB / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.6426, allocations: 0.7045 MB / 0.7747 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.6427, allocations: 15.44 kB / 0.7748 GB, free: 11.54 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.6427, allocations: 0 / 0.7748 GB, free: 11.54 MB / 0.545 GB Notification: Performance of Templates: time 0.00373/0.6464, allocations: 1.775 MB / 0.7765 GB, free: 9.797 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)