Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.0008751/0.0008754, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005593/0.005593, allocations: 173.9 kB / 16.26 MB, free: 6.676 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.077/3.077, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004549, allocations: 12.22 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/0.5387, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003209/0.542, allocations: 1.539 MB / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000602/0.5427, allocations: 115.6 kB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.5429, allocations: 7.938 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.5432, allocations: 7.922 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.5434, allocations: 51.55 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.5437, allocations: 27.97 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.5441, allocations: 167.1 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.5443, allocations: 32.89 kB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.5445, allocations: 47.83 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.5447, allocations: 59.7 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.5448, allocations: 8 kB / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.054e-05/0.5448, allocations: 4 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.5448, allocations: 19.91 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.545, allocations: 81.38 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.5452, allocations: 115.9 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.5452, allocations: 4 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.208e-06/0.5452, allocations: 4 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.5453, allocations: 0 / 1.076 GB, free: 5.277 MB / 0.8262 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.001073/0.5463, allocations: 446.9 kB / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.5464, allocations: 11.97 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.5465, allocations: 12.84 kB / 1.077 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.5469, allocations: 204.8 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.5469, allocations: 8.375 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.547, allocations: 4.375 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.5474, allocations: 127.8 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.5474, allocations: 192 / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.5474, allocations: 7.938 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.5474, allocations: 4 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.5478, allocations: 103.9 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.5489, allocations: 488.5 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.5494, allocations: 137.2 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.5496, allocations: 73.72 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.5497, allocations: 0 / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.5497, allocations: 42.55 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.5498, allocations: 0 / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0007648/0.5505, allocations: 201.4 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.5506, allocations: 81.11 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.5508, allocations: 172.1 kB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.5509, allocations: 25.7 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.551, allocations: 112.1 kB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.5511, allocations: 31.55 kB / 1.079 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.5511, allocations: 9.719 kB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.5513, allocations: 330.8 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.5515, allocations: 47.97 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.5517, allocations: 73.55 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.552, allocations: 121.9 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.552, allocations: 0 / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004078/0.5524, allocations: 165.4 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.5525, allocations: 4 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5525, allocations: 0 / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.5525, allocations: 0 / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.5527, allocations: 31.97 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.5527, allocations: 4 kB / 1.079 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.5528, allocations: 15.98 kB / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.5529, allocations: 7.938 kB / 1.079 GB, free: 1.973 MB / 0.8262 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.0001207/0.553, allocations: 119.1 kB / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.5531, allocations: 15.81 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/0.5536, allocations: 174.5 kB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5536, allocations: 0 / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.5536, allocations: 3.984 kB / 1.08 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5536, allocations: 4 kB / 1.08 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.554, allocations: 225.5 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.554, allocations: 0 / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.5541, allocations: 23.98 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.5541, allocations: 4 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.5541, allocations: 4.188 kB / 1.08 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.5542, allocations: 4 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5542, allocations: 3.938 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.5547, allocations: 334.5 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.5548, allocations: 88.92 kB / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.5548, allocations: 8 kB / 1.08 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.555, allocations: 11.98 kB / 1.08 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.5551, allocations: 11.98 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.5551, allocations: 3.938 kB / 1.08 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001179/0.5552, allocations: 128.2 kB / 1.08 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5552, allocations: 288 / 1.08 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002932/0.5555, allocations: 28 kB / 1.08 GB, free: 0.7031 MB / 0.8262 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.0001596/0.5557, allocations: 103.2 kB / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00042/0.5561, allocations: 119.9 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5561, allocations: 7.938 kB / 1.081 GB, free: 476 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.5563, allocations: 59.97 kB / 1.081 GB, free: 416 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.5568, allocations: 33.06 kB / 1.081 GB, free: 384 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006944/0.5575, allocations: 271.5 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.558, allocations: 0.7048 MB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.708e-05/0.5581, allocations: 20.62 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.5581, allocations: 11.44 kB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.5581, allocations: 0 / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of Templates: time 0.00597/0.5641, allocations: 1.913 MB / 1.084 GB, free: 13.45 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)