Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002248/0.002248, allocations: 195.2 kB / 16.14 MB, free: 6.652 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.626/1.626, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.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.594/1.594, allocations: 251.6 MB / 0.5088 GB, free: 3.258 MB / 414.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.001516/0.001516, allocations: 67.91 kB / 0.6215 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5949/0.5965, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006439/0.6029, allocations: 4.152 MB / 0.7278 GB, free: 9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.6066, allocations: 1.337 MB / 0.7292 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.6078, allocations: 23.88 kB / 0.7292 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.6086, allocations: 99.2 kB / 0.7293 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008305/0.6094, allocations: 142.8 kB / 0.7294 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.6108, allocations: 388.9 kB / 0.7298 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.6121, allocations: 0.8811 MB / 0.7306 GB, free: 6.133 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007594/0.6129, allocations: 432.1 kB / 0.731 GB, free: 5.691 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005642/0.6134, allocations: 270.8 kB / 0.7313 GB, free: 5.426 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.614, allocations: 310.3 kB / 0.7316 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.6142, allocations: 40 kB / 0.7316 GB, free: 5.082 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.6144, allocations: 40 kB / 0.7317 GB, free: 5.043 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.6145, allocations: 127.4 kB / 0.7318 GB, free: 4.918 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004914/0.615, allocations: 346 kB / 0.7321 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.6161, allocations: 0.985 MB / 0.7331 GB, free: 3.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.6161, allocations: 4 kB / 0.7331 GB, free: 3.586 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6161, allocations: 0 / 0.7331 GB, free: 3.586 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.889e-05/0.6161, allocations: 0 / 0.7331 GB, free: 3.586 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002053/0.6182, allocations: 1.081 MB / 0.7342 GB, free: 2.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6182, allocations: 11.97 kB / 0.7342 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.6184, allocations: 87.91 kB / 0.7342 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008807/0.6193, allocations: 0.5417 MB / 0.7348 GB, free: 1.766 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.6194, allocations: 45.69 kB / 0.7348 GB, free: 1.723 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.6195, allocations: 60.38 kB / 0.7349 GB, free: 1.664 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6206, allocations: 0.6039 MB / 0.7355 GB, free: 1.035 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.6206, allocations: 4 kB / 0.7355 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.6207, allocations: 24 kB / 0.7355 GB, free: 1.008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.6207, allocations: 16 kB / 0.7355 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009577/0.6217, allocations: 457 kB / 0.7359 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.6247, allocations: 2.016 MB / 0.7379 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009333/0.6257, allocations: 442.4 kB / 0.7383 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004645/0.6261, allocations: 242.1 kB / 0.7386 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.6262, allocations: 4.438 kB / 0.7386 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006861/0.6269, allocations: 257.3 kB / 0.7388 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.765e-06/0.6269, allocations: 0 / 0.7388 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001317/0.6282, allocations: 0.5921 MB / 0.7394 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.6283, allocations: 59.84 kB / 0.7395 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/0.6288, allocations: 446.6 kB / 0.7399 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.6288, allocations: 37.7 kB / 0.7399 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.6291, allocations: 324.3 kB / 0.7402 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.6292, allocations: 169.6 kB / 0.7404 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.6294, allocations: 98.16 kB / 0.7405 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.6296, allocations: 362.8 kB / 0.7408 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.63, allocations: 169 kB / 0.741 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.6304, allocations: 253.8 kB / 0.7412 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008128/0.6312, allocations: 448 kB / 0.7417 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6312, allocations: 0 / 0.7417 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001079/0.6323, allocations: 0.5624 MB / 0.7422 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.6324, allocations: 39.52 kB / 0.7422 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.6324, allocations: 0 / 0.7422 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.6324, allocations: 4 kB / 0.7422 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.633, allocations: 115.8 kB / 0.7424 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.633, allocations: 4 kB / 0.7424 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.6333, allocations: 67.75 kB / 0.7424 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.6334, allocations: 23.98 kB / 0.7424 GB, free: 9.664 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002656/0.6337, allocations: 209.7 kB / 0.7426 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.6337, allocations: 59.28 kB / 0.7427 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.6339, allocations: 65.58 kB / 0.7428 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6339, allocations: 8 kB / 0.7428 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.6339, allocations: 0 / 0.7428 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6339, allocations: 0 / 0.7428 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.6356, allocations: 1.174 MB / 0.7439 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6356, allocations: 0 / 0.7439 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.6361, allocations: 103.8 kB / 0.744 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6361, allocations: 0 / 0.744 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.6362, allocations: 8 kB / 0.744 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-06/0.6362, allocations: 3.984 kB / 0.744 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6362, allocations: 7.984 kB / 0.744 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.6376, allocations: 0.7601 MB / 0.7448 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.6378, allocations: 172.3 kB / 0.7449 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.008e-05/0.6379, allocations: 12 kB / 0.745 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.6382, allocations: 23.97 kB / 0.745 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.6384, allocations: 36.39 kB / 0.745 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.6384, allocations: 8 kB / 0.745 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004058/0.6388, allocations: 314.9 kB / 0.7453 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6388, allocations: 3.938 kB / 0.7453 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005689/0.6394, allocations: 147.4 kB / 0.7455 GB, free: 6.473 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002224/0.6396, allocations: 117.4 kB / 0.7456 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.6409, allocations: 489.5 kB / 0.746 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.6409, allocations: 0 / 0.746 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.6413, allocations: 214.4 kB / 0.7462 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008608/0.6422, allocations: 151.1 kB / 0.7464 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.6451, allocations: 1.613 MB / 0.748 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.6456, allocations: 0.8902 MB / 0.7488 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003463/0.6459, allocations: 64.59 kB / 0.7489 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.6461, allocations: 35.44 kB / 0.7489 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.6461, allocations: 0 / 0.7489 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of Templates: time 0.01011/0.6562, allocations: 5.582 MB / 0.7544 GB, free: 13.34 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)