Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001171/0.001171, 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.001175/0.001175, allocations: 191.1 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 56.92 kB / 0.9113 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3849, allocations: 159.9 MB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006239/0.3912, allocations: 4.159 MB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002949/0.3941, allocations: 1.289 MB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008139/0.395, allocations: 23.88 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.3956, allocations: 91.22 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007536/0.3963, allocations: 150.9 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.3975, allocations: 386.5 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.3988, allocations: 0.8773 MB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007626/0.3996, allocations: 426.1 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004816/0.4001, allocations: 274.7 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.4005, allocations: 306.3 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.4007, allocations: 44 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.4009, allocations: 40 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.401, allocations: 123.5 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.4014, allocations: 342 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009553/0.4024, allocations: 0.9969 MB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.682e-05/0.4024, allocations: 4 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4024, allocations: 0 / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.411e-05/0.4025, allocations: 0 / 1.077 GB, free: 1.363 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002522/0.405, allocations: 1.077 MB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4051, allocations: 8.031 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.4052, allocations: 84 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008878/0.4061, allocations: 0.5495 MB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.4062, allocations: 41.69 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-05/0.4063, allocations: 64.36 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.4074, allocations: 0.6078 MB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.4074, allocations: 4 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-05/0.4075, allocations: 24 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.4075, allocations: 15.94 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009754/0.4085, allocations: 461 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.4114, allocations: 2.012 MB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009212/0.4124, allocations: 444.9 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004508/0.4128, allocations: 246.1 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.4129, allocations: 4.438 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006537/0.4135, allocations: 261.2 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=49): time 2.465e-06/0.4136, allocations: 0 / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49): time 0.001333/0.4149, allocations: 0.5927 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.415, allocations: 55.84 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.4155, allocations: 446 kB / 1.084 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.4155, allocations: 37.7 kB / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.4157, allocations: 328.2 kB / 1.084 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.4159, allocations: 169.6 kB / 1.084 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.4161, allocations: 98.23 kB / 1.084 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4162, allocations: 362.8 kB / 1.084 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.4166, allocations: 165 kB / 1.085 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.4171, allocations: 245.8 kB / 1.085 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008404/0.4179, allocations: 452 kB / 1.085 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4179, allocations: 4 kB / 1.085 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001111/0.419, allocations: 0.5624 MB / 1.086 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.4191, allocations: 33.64 kB / 1.086 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.4191, allocations: 7.938 kB / 1.086 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.4191, allocations: 4 kB / 1.086 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.4197, allocations: 107.9 kB / 1.086 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.4197, allocations: 16.19 kB / 1.086 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.4201, allocations: 63.41 kB / 1.086 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.4201, allocations: 20 kB / 1.086 GB, free: 7.43 MB / 0.8419 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.0002785/0.4204, allocations: 209 kB / 1.086 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.4205, allocations: 59.28 kB / 1.086 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.4206, allocations: 65.59 kB / 1.086 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.4206, allocations: 4 kB / 1.086 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4206, allocations: 3.938 kB / 1.086 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4206, allocations: 3.984 kB / 1.086 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.4225, allocations: 1.174 MB / 1.088 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4225, allocations: 4 kB / 1.088 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.423, allocations: 95.88 kB / 1.088 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.4231, allocations: 8 kB / 1.088 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.4231, allocations: 12 kB / 1.088 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4231, allocations: 0 / 1.088 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.4231, allocations: 3.938 kB / 1.088 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.4246, allocations: 0.7602 MB / 1.088 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.4248, allocations: 168.3 kB / 1.089 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.4249, allocations: 11.98 kB / 1.089 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.4252, allocations: 35.91 kB / 1.089 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4253, allocations: 32.39 kB / 1.089 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.4254, allocations: 16 kB / 1.089 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003888/0.4258, allocations: 314.8 kB / 1.089 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4258, allocations: 0 / 1.089 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004986/0.4263, allocations: 139.5 kB / 1.089 GB, free: 4.238 MB / 0.8419 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.0001816/0.4265, allocations: 111.7 kB / 1.089 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.4275, allocations: 481 kB / 1.09 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4276, allocations: 4 kB / 1.09 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004981/0.4281, allocations: 222.3 kB / 1.09 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008601/0.4289, allocations: 141.7 kB / 1.09 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.432, allocations: 1.609 MB / 1.092 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.4326, allocations: 0.8863 MB / 1.092 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003257/0.4329, allocations: 64.58 kB / 1.093 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.4331, allocations: 43.42 kB / 1.093 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of SimCode: time 1.492e-06/0.4331, allocations: 0 / 1.093 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of Templates: time 0.01253/0.4456, allocations: 5.578 MB / 1.098 GB, free: 11.11 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)