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.001166/0.001166, allocations: 98.11 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.009396/0.009396, allocations: 172.4 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.476/1.476, 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 2.951/2.951, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 15.55 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3924, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002495/0.3949, allocations: 1.729 MB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008225/0.3957, allocations: 430.7 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.3959, allocations: 4 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.396, allocations: 27.67 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3962, allocations: 27.84 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.3964, allocations: 87.89 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.3967, allocations: 252.5 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.397, allocations: 160.5 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.861e-05/0.3971, allocations: 63.59 kB / 1.077 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3972, allocations: 71.5 kB / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.3972, allocations: 4 kB / 1.077 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.3972, allocations: 8 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.3973, allocations: 31.73 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.3974, allocations: 113.1 kB / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.3977, allocations: 343 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3978, allocations: 4 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3978, allocations: 0 / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.3978, allocations: 4 kB / 1.077 GB, free: 4.191 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.0008516/0.3986, allocations: 0.5069 MB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3987, allocations: 12.03 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.3988, allocations: 24.66 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.3991, allocations: 264.2 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.3991, allocations: 16.81 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.3992, allocations: 16.38 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.3996, allocations: 250.3 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3997, allocations: 3.938 kB / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.3997, allocations: 8 kB / 1.078 GB, free: 3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.3997, allocations: 4 kB / 1.078 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.4002, allocations: 193 kB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.4014, allocations: 0.8677 MB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.4019, allocations: 198.7 kB / 1.08 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.4021, allocations: 105 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.4022, allocations: 4 kB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.4022, allocations: 34.56 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/0.4022, allocations: 0 / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.000689/0.4029, allocations: 253.3 kB / 1.08 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.403, allocations: 81.05 kB / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.4033, allocations: 239.2 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.4033, allocations: 33.7 kB / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.4034, allocations: 156 kB / 1.081 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.4035, allocations: 47.38 kB / 1.081 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.4035, allocations: 21.72 kB / 1.081 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.4036, allocations: 330.8 kB / 1.081 GB, free: 336 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.4038, allocations: 71.95 kB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.404, allocations: 113.1 kB / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.4045, allocations: 186.8 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4045, allocations: 0 / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004828/0.405, allocations: 229.4 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.082e-05/0.405, allocations: 111.5 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4051, allocations: 8 kB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4051, allocations: 0 / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.4053, allocations: 47.91 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4053, allocations: 0 / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4054, allocations: 35.81 kB / 1.082 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.4055, allocations: 12 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.4055, allocations: 4.938 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003148/0.4058, allocations: 143.8 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.4058, allocations: 0 / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.968e-06/0.4058, allocations: 8.094 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.406, allocations: 27.98 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.406, allocations: 7.984 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.4061, allocations: 31.77 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4061, allocations: 4 kB / 1.082 GB, free: 15.26 MB / 0.8419 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.0001894/0.4063, allocations: 217.1 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.4064, allocations: 23.81 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.145e-05/0.4064, allocations: 21.39 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4064, allocations: 0 / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.4064, allocations: 7.938 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4065, allocations: 0 / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.4068, allocations: 301.4 kB / 1.082 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4068, allocations: 0 / 1.082 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.407, allocations: 43.91 kB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.407, allocations: 4 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.407, allocations: 0 / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.407, allocations: 0 / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.407, allocations: 3.938 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006761/0.4077, allocations: 371.6 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.4078, allocations: 101 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.4078, allocations: 3.984 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.408, allocations: 23.98 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.408, allocations: 7.922 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.408, allocations: 4 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001649/0.4082, allocations: 168.7 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4082, allocations: 3.938 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003517/0.4086, allocations: 63.75 kB / 1.083 GB, free: 13.82 MB / 0.8419 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.0001335/0.4087, allocations: 107.2 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006066/0.4093, allocations: 243.9 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4093, allocations: 3.938 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.4095, allocations: 84.22 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.41, allocations: 36.58 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/0.4108, allocations: 491.7 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.4111, allocations: 0.7404 MB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.857e-05/0.4112, allocations: 17.53 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.4113, allocations: 23.42 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.4113, allocations: 0 / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.004916/0.4162, allocations: 1.828 MB / 1.087 GB, free: 10.23 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)