Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008791/0.0008792, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005988/0.005988, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.563/1.563, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.292/3.292, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004229, allocations: 11.58 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.5063, 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.00275/0.5091, allocations: 1.535 MB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005065/0.5097, allocations: 119.6 kB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.5099, allocations: 4 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.51, allocations: 11.86 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.5102, allocations: 35.64 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.5104, allocations: 39.94 kB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.5107, allocations: 167.1 kB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.5109, allocations: 28.86 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.511, allocations: 51.8 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.5112, allocations: 59.75 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.5112, allocations: 4 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.856e-05/0.5112, allocations: 4 kB / 1.076 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.5113, allocations: 23.86 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.5114, allocations: 89.41 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.5116, allocations: 115.8 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5116, allocations: 3.938 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.687e-06/0.5116, allocations: 0 / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5116, 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.0009301/0.5126, allocations: 446.9 kB / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.5126, allocations: 12.03 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.061e-05/0.5127, allocations: 12.84 kB / 1.077 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.5131, allocations: 208.7 kB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.5131, allocations: 384 / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.5131, allocations: 12.38 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.5135, allocations: 122.2 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5135, allocations: 192 / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.5135, allocations: 3.938 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.5135, allocations: 3.984 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.5139, allocations: 115.9 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009273/0.5148, allocations: 480.6 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.5153, allocations: 137.2 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.5155, allocations: 65.78 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.5155, allocations: 4 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.5156, allocations: 34.5 kB / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.5156, allocations: 4 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.000712/0.5163, allocations: 209.3 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/0.5164, allocations: 81.11 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.5166, allocations: 168.1 kB / 1.078 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.5166, allocations: 33.64 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.5167, allocations: 104.1 kB / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.5168, allocations: 31.55 kB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.5168, allocations: 17.72 kB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.517, allocations: 326.8 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.5172, allocations: 51.97 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.5173, allocations: 65.69 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.5176, allocations: 121.6 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5177, allocations: 0 / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003952/0.5181, allocations: 161.8 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.5181, allocations: 4 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.5181, allocations: 4 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.5181, allocations: 4.188 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.5183, allocations: 27.92 kB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5183, allocations: 3.938 kB / 1.079 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.5185, allocations: 15.98 kB / 1.079 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.5185, allocations: 3.938 kB / 1.079 GB, free: 1.984 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.0001099/0.5186, allocations: 123.2 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.5187, allocations: 19.8 kB / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005047/0.5192, allocations: 174.7 kB / 1.08 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5192, allocations: 4 kB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.5192, allocations: 0 / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5192, allocations: 0 / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.5196, allocations: 229.5 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5196, allocations: 3.984 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.5197, allocations: 27.92 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5198, allocations: 0 / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.5198, allocations: 0 / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.5198, allocations: 4 kB / 1.08 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5198, allocations: 4 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.5203, allocations: 330.5 kB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-05/0.5204, allocations: 92.91 kB / 1.08 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.5204, allocations: 4 kB / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.5206, allocations: 11.98 kB / 1.08 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.5207, allocations: 4 kB / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.5207, allocations: 7.938 kB / 1.08 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001244/0.5208, allocations: 140.2 kB / 1.08 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3e-07/0.5208, allocations: 0 / 1.08 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002957/0.5211, 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.000143/0.5213, allocations: 99.25 kB / 1.081 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003934/0.5217, allocations: 120.1 kB / 1.081 GB, free: 488 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5217, allocations: 0 / 1.081 GB, free: 488 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.5219, allocations: 64.03 kB / 1.081 GB, free: 424 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.5224, allocations: 45.55 kB / 1.081 GB, free: 380 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.5231, allocations: 260.1 kB / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.5235, allocations: 0.7048 MB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000119/0.5237, allocations: 8.656 kB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.5237, allocations: 19.42 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.5237, allocations: 0 / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of Templates: time 0.007007/0.5308, allocations: 1.914 MB / 1.084 GB, free: 13.46 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)