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.001065/0.001065, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001237/0.001237, allocations: 190.9 kB / 16.25 MB, free: 6.621 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.614/1.614, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.481/1.481, allocations: 251.6 MB / 0.5089 GB, free: 3.309 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.001325/0.001325, allocations: 64.42 kB / 0.6217 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6583/0.6596, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006782/0.6664, allocations: 4.148 MB / 0.728 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003777/0.6703, allocations: 1.337 MB / 0.7293 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009726/0.6713, allocations: 23.88 kB / 0.7294 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.672, allocations: 95.2 kB / 0.7294 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007679/0.6728, allocations: 146.8 kB / 0.7296 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.674, allocations: 382.3 kB / 0.73 GB, free: 6.945 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001411/0.6754, allocations: 0.9593 MB / 0.7309 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.6765, allocations: 460 kB / 0.7313 GB, free: 5.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.6776, allocations: 334.7 kB / 0.7316 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000869/0.6784, allocations: 334.3 kB / 0.732 GB, free: 4.859 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002661/0.6787, allocations: 92 kB / 0.7321 GB, free: 4.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.6789, allocations: 92 kB / 0.7321 GB, free: 4.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.6791, allocations: 179.4 kB / 0.7323 GB, free: 4.504 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000437/0.6795, allocations: 390 kB / 0.7327 GB, free: 4.121 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.6807, allocations: 1.028 MB / 0.7337 GB, free: 3.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6808, allocations: 0 / 0.7337 GB, free: 3.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6808, allocations: 8 kB / 0.7337 GB, free: 3.082 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.6808, allocations: 0 / 0.7337 GB, free: 3.082 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.001925/0.6827, allocations: 1.081 MB / 0.7347 GB, free: 1.941 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.6828, allocations: 8.031 kB / 0.7348 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.6829, allocations: 87.91 kB / 0.7348 GB, free: 1.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.6837, allocations: 0.5495 MB / 0.7354 GB, free: 1.258 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.6838, allocations: 37.69 kB / 0.7354 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.039e-05/0.6839, allocations: 60.38 kB / 0.7355 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.685, allocations: 0.6117 MB / 0.7361 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.685, allocations: 0 / 0.7361 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.6851, allocations: 27.94 kB / 0.7361 GB, free: 0.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.6851, allocations: 16 kB / 0.7361 GB, free: 496 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000891/0.686, allocations: 457 kB / 0.7365 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.6888, allocations: 2.016 MB / 0.7385 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008823/0.6897, allocations: 442.4 kB / 0.7389 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.6902, allocations: 242.1 kB / 0.7392 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/0.6902, allocations: 12.44 kB / 0.7392 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005591/0.6908, allocations: 261.2 kB / 0.7394 GB, free: 13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 1.944e-06/0.6908, allocations: 3.938 kB / 0.7394 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001264/0.6921, allocations: 0.5805 MB / 0.74 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.6921, allocations: 55.84 kB / 0.7401 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.6927, allocations: 446.7 kB / 0.7405 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.6927, allocations: 37.7 kB / 0.7405 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.693, allocations: 320.3 kB / 0.7408 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.6932, allocations: 161.6 kB / 0.741 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.6933, allocations: 98.16 kB / 0.7411 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002224/0.6936, allocations: 366.8 kB / 0.7414 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.6939, allocations: 165 kB / 0.7416 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.6944, allocations: 257.8 kB / 0.7418 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/0.6952, allocations: 452 kB / 0.7423 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6952, allocations: 0 / 0.7423 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001027/0.6963, allocations: 0.5546 MB / 0.7428 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.6963, allocations: 45.62 kB / 0.7428 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6963, allocations: 4 kB / 0.7428 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.6964, allocations: 8 kB / 0.7428 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.6969, allocations: 111.8 kB / 0.743 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.6969, allocations: 7.984 kB / 0.743 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.6973, allocations: 67.75 kB / 0.743 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.6973, allocations: 16 kB / 0.743 GB, free: 9.16 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.0002694/0.6976, allocations: 214.2 kB / 0.7432 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.6977, allocations: 55.28 kB / 0.7433 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.6978, allocations: 61.58 kB / 0.7434 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.6978, allocations: 12 kB / 0.7434 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.6978, allocations: 0 / 0.7434 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6978, allocations: 3.984 kB / 0.7434 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.6996, allocations: 1.174 MB / 0.7445 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6996, allocations: 0 / 0.7445 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.7, allocations: 95.83 kB / 0.7446 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.7, allocations: 8 kB / 0.7446 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.7001, allocations: 11.98 kB / 0.7446 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.7001, allocations: 7.938 kB / 0.7446 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7001, allocations: 0 / 0.7446 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.7014, allocations: 0.76 MB / 0.7454 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.7016, allocations: 172.3 kB / 0.7455 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.7017, allocations: 12 kB / 0.7456 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.702, allocations: 27.97 kB / 0.7456 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.7021, allocations: 32.39 kB / 0.7456 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.7021, allocations: 15.98 kB / 0.7456 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004495/0.7026, allocations: 310.9 kB / 0.7459 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7026, allocations: 7.938 kB / 0.7459 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004571/0.7031, allocations: 139.4 kB / 0.7461 GB, free: 5.965 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.0002434/0.7033, allocations: 115.2 kB / 0.7462 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.7046, allocations: 0.4975 MB / 0.7467 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7046, allocations: 0 / 0.7467 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.705, allocations: 214.4 kB / 0.7469 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.7058, allocations: 166.9 kB / 0.747 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.7093, allocations: 1.611 MB / 0.7486 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008275/0.7102, allocations: 0.886 MB / 0.7495 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003602/0.7105, allocations: 68.58 kB / 0.7495 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.7107, allocations: 39.42 kB / 0.7496 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of SimCode: time 1.743e-06/0.7107, allocations: 0 / 0.7496 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of Templates: time 0.01369/0.7244, allocations: 5.829 MB / 0.7553 GB, free: 12.55 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)