Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0015/0.0015, allocations: 192 kB / 16.14 MB, free: 6.688 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.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.017/3.017, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 61.45 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4201, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003449/0.4236, allocations: 2.106 MB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.4244, allocations: 422.8 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.4245, allocations: 4 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.4247, allocations: 31.72 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.428e-05/0.4248, allocations: 23.8 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.4251, allocations: 83.95 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.4253, allocations: 264.4 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.4256, allocations: 148.5 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.4257, allocations: 79.58 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.4258, allocations: 95.41 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.4259, allocations: 12 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.917e-05/0.4259, allocations: 12 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.4259, allocations: 39.84 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/0.426, allocations: 99.41 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.4263, allocations: 367 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4264, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4264, allocations: 4 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.4264, allocations: 0 / 1.071 GB, free: 7.109 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008405/0.4272, allocations: 0.5341 MB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4273, allocations: 8.031 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.4273, allocations: 28.56 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.4277, allocations: 272.3 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.4277, allocations: 16.81 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.4277, allocations: 20.38 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/0.4282, allocations: 226.3 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4282, allocations: 7.875 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.4282, allocations: 15.98 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4282, allocations: 8 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004027/0.4286, allocations: 169 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.4297, allocations: 0.8521 MB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.4302, allocations: 182.7 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.4304, allocations: 88.81 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.4305, allocations: 7.984 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.4305, allocations: 34.56 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.4305, allocations: 3.938 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006246/0.4312, allocations: 229.4 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.4312, allocations: 85.09 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.4315, allocations: 239.1 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.4315, allocations: 25.7 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.4316, allocations: 156.1 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.4316, allocations: 39.36 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.149e-05/0.4317, allocations: 41.7 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4318, allocations: 334.8 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.432, allocations: 60.83 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.4322, allocations: 113.1 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.4326, allocations: 155.3 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4326, allocations: 4.031 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004149/0.433, allocations: 213.2 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.433, allocations: 8 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.433, allocations: 0 / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4331, allocations: 3.938 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.4332, allocations: 35.97 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4332, allocations: 8.094 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.4334, allocations: 23.83 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.4334, allocations: 8 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001963/0.4336, allocations: 152.1 kB / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001521/0.4338, allocations: 102.5 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002568/0.434, allocations: 135.3 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.434, allocations: 3.938 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003271/0.4344, allocations: 180.4 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.4344, allocations: 4 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-06/0.4344, allocations: 0 / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-06/0.4344, allocations: 4 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.4345, allocations: 35.86 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.4345, allocations: 3.984 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.4347, allocations: 23.89 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.4347, allocations: 4 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.000102/0.4348, allocations: 193 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.4348, allocations: 15.81 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.888e-05/0.4349, allocations: 29.33 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4349, allocations: 4 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4349, allocations: 0 / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4349, allocations: 3.984 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.4352, allocations: 305.4 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.4352, allocations: 4 kB / 1.076 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.4354, allocations: 35.91 kB / 1.076 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4354, allocations: 3.938 kB / 1.076 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.4354, allocations: 7.938 kB / 1.076 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4354, allocations: 4 kB / 1.076 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4354, allocations: 0 / 1.076 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.4361, allocations: 347.6 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.4361, allocations: 96.91 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.4362, allocations: 3.938 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.4363, allocations: 11.98 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.4364, allocations: 11.98 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.4364, allocations: 7.938 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001516/0.4365, allocations: 164.7 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4365, allocations: 64 / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003445/0.4369, allocations: 71.69 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * 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 (12): * Single equations (assignments): 12 * 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.0001329/0.437, allocations: 103.2 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005441/0.4376, allocations: 220 kB / 1.077 GB, free: 252 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4376, allocations: 4.125 kB / 1.077 GB, free: 248 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.4378, allocations: 71.84 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.4382, allocations: 36.64 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007722/0.439, allocations: 463.1 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.4393, allocations: 0.7404 MB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.59e-05/0.4394, allocations: 17.53 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.4395, allocations: 19.44 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4395, allocations: 0 / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of Templates: time 0.004777/0.4442, allocations: 1.871 MB / 1.081 GB, free: 13 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)