Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005019/0.005019, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001295/0.001295, allocations: 192.6 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.1 MB / 222.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.263/1.263, allocations: 251.7 MB / 0.5094 GB, free: 428 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 75.89 kB / 0.7258 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4399, allocations: 104.7 MB / 0.828 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002306/0.4422, allocations: 1.426 MB / 0.8294 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.000659/0.4429, allocations: 449.9 kB / 0.8299 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.443, allocations: 4 kB / 0.8299 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.443, allocations: 0 / 0.8299 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.4431, allocations: 7.922 kB / 0.8299 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.4432, allocations: 0 / 0.8299 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 6.184e-05/0.4433, allocations: 27.92 kB / 0.8299 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.4434, allocations: 8 kB / 0.8299 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 8.454e-05/0.4435, allocations: 23.84 kB / 0.8299 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.4435, allocations: 15.92 kB / 0.8299 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.4435, allocations: 0 / 0.8299 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.4436, allocations: 4 kB / 0.8299 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.4436, allocations: 0 / 0.8299 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.4436, allocations: 11.94 kB / 0.83 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 7.136e-05/0.4437, allocations: 27.83 kB / 0.83 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4437, allocations: 0 / 0.83 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4437, allocations: 4 kB / 0.83 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4437, allocations: 0 / 0.83 GB, free: 0.5703 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003405/0.4441, allocations: 335 kB / 0.8303 GB, free: 204 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.4441, allocations: 8.031 kB / 0.8303 GB, free: 196 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.4441, allocations: 4.938 kB / 0.8303 GB, free: 192 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.4442, allocations: 166.6 kB / 0.8305 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.4443, allocations: 384 / 0.8305 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.4443, allocations: 4.375 kB / 0.8305 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.4444, allocations: 49.94 kB / 0.8305 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.4444, allocations: 4 kB / 0.8305 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.4444, allocations: 0 / 0.8305 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4444, allocations: 0 / 0.8305 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/0.4445, allocations: 19.98 kB / 0.8305 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.4448, allocations: 252.8 kB / 0.8308 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.401e-05/0.4449, allocations: 30.52 kB / 0.8308 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.4449, allocations: 24.91 kB / 0.8308 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.4449, allocations: 0 / 0.8308 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.445, allocations: 30.56 kB / 0.8309 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.445, allocations: 4 kB / 0.8309 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002024/0.4452, allocations: 57.67 kB / 0.8309 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.4452, allocations: 59.47 kB / 0.831 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.4453, allocations: 101.9 kB / 0.8311 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.4453, allocations: 29.7 kB / 0.8311 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.4454, allocations: 88.06 kB / 0.8312 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.4454, allocations: 3.906 kB / 0.8312 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.4454, allocations: 21.72 kB / 0.8312 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.4455, allocations: 310.8 kB / 0.8315 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.4455, allocations: 11.98 kB / 0.8315 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.4456, allocations: 12 kB / 0.8315 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.755e-05/0.4457, allocations: 28.78 kB / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4457, allocations: 0 / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001045/0.4458, allocations: 53.67 kB / 0.8316 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.4458, allocations: 4 kB / 0.8316 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.4458, allocations: 0 / 0.8316 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.4458, allocations: 0 / 0.8316 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.4459, allocations: 12.03 kB / 0.8316 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4459, allocations: 0 / 0.8316 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.4459, allocations: 4 kB / 0.8316 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.4459, allocations: 3.984 kB / 0.8316 GB, free: 14.65 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 5.56e-05/0.446, allocations: 117.7 kB / 0.8318 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.446, allocations: 7.906 kB / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.4461, allocations: 7.484 kB / 0.8318 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4461, allocations: 0 / 0.8318 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.4461, allocations: 0 / 0.8318 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4461, allocations: 4 kB / 0.8318 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.4462, allocations: 169.8 kB / 0.8319 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.4462, allocations: 4 kB / 0.8319 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.975e-05/0.4463, allocations: 4 kB / 0.8319 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4463, allocations: 0 / 0.8319 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.4463, allocations: 0 / 0.8319 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4463, allocations: 0 / 0.8319 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4463, allocations: 0 / 0.8319 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.4464, allocations: 159.4 kB / 0.8321 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.4465, allocations: 85.09 kB / 0.8322 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.4465, allocations: 0 / 0.8322 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.456e-05/0.4466, allocations: 0 / 0.8322 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.4466, allocations: 7.938 kB / 0.8322 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.4466, allocations: 3.984 kB / 0.8322 GB, free: 14 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.4466, allocations: 83.28 kB / 0.8323 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.4466, allocations: 0 / 0.8323 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001971/0.4468, allocations: 4 kB / 0.8323 GB, free: 13.91 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 8.414e-05/0.4469, allocations: 100.3 kB / 0.8324 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.4471, allocations: 23.98 kB / 0.8324 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4471, allocations: 0 / 0.8324 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.4471, allocations: 19.92 kB / 0.8324 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.4473, allocations: 3.938 kB / 0.8324 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.4476, allocations: 118.8 kB / 0.8325 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.4478, allocations: 0.6805 MB / 0.8332 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.4478, allocations: 4 kB / 0.8332 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.4478, allocations: 7.438 kB / 0.8332 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.4479, allocations: 0 / 0.8332 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.001876/0.4497, allocations: 316.3 kB / 0.8335 GB, free: 12.6 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)