Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001008/0.001008, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.01048/0.01048, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.517/1.517, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.966/2.966, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 10.41 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3533, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00453/0.3578, allocations: 3.724 MB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002608/0.3605, allocations: 1.282 MB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004001/0.3609, allocations: 23.88 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.3612, allocations: 95.2 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.3616, allocations: 150.8 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009097/0.3625, allocations: 382.9 kB / 1.08 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008388/0.3634, allocations: 0.8773 MB / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005798/0.364, allocations: 426.1 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.3643, allocations: 230.7 kB / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.3645, allocations: 254.4 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.3646, allocations: 27.94 kB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.964e-05/0.3647, allocations: 24 kB / 1.081 GB, free: 44 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.3648, allocations: 99.42 kB / 1.082 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.3651, allocations: 331.8 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007992/0.3659, allocations: 0.9537 MB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3659, allocations: 0 / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3659, allocations: 0 / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3659, allocations: 4 kB / 1.083 GB, free: 14.65 MB / 0.8419 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.001622/0.3675, allocations: 0.9562 MB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3676, allocations: 12.03 kB / 1.084 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.3677, allocations: 80 kB / 1.084 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008403/0.3686, allocations: 0.5456 MB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.3686, allocations: 49.62 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.372e-05/0.3687, allocations: 60.28 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.3698, allocations: 0.6079 MB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.3698, allocations: 4 kB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.576e-05/0.3699, allocations: 27.98 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.3699, allocations: 16 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.3709, allocations: 469 kB / 1.086 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.374, allocations: 2.028 MB / 1.087 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/0.3749, allocations: 458.1 kB / 1.088 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.3754, allocations: 246 kB / 1.088 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.3755, allocations: 4.438 kB / 1.088 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006001/0.3761, allocations: 273.2 kB / 1.088 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=49): time 4.108e-06/0.3761, allocations: 0 / 1.088 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49): time 0.001289/0.3774, allocations: 0.6006 MB / 1.089 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.3775, allocations: 59.84 kB / 1.089 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.378, allocations: 449.9 kB / 1.089 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.378, allocations: 41.7 kB / 1.09 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.3783, allocations: 324.3 kB / 1.09 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.3784, allocations: 165.6 kB / 1.09 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.3785, allocations: 45.7 kB / 1.09 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3787, allocations: 370.8 kB / 1.09 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.3791, allocations: 169 kB / 1.091 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.3795, allocations: 257.8 kB / 1.091 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/0.3804, allocations: 468 kB / 1.091 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3804, allocations: 0 / 1.091 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00104/0.3814, allocations: 0.5741 MB / 1.092 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.3815, allocations: 33.64 kB / 1.092 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3815, allocations: 4 kB / 1.092 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3815, allocations: 4 kB / 1.092 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.382, allocations: 120.1 kB / 1.092 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.382, allocations: 4 kB / 1.092 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.3824, allocations: 71.5 kB / 1.092 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.3824, allocations: 20 kB / 1.092 GB, free: 4.777 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.0002733/0.3827, allocations: 214.3 kB / 1.092 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.3828, allocations: 59.19 kB / 1.092 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.3829, allocations: 61.59 kB / 1.092 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.383, allocations: 4 kB / 1.092 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.383, allocations: 0 / 1.092 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.383, allocations: 3.984 kB / 1.092 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.3847, allocations: 1.193 MB / 1.094 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3847, allocations: 0 / 1.094 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.3852, allocations: 99.88 kB / 1.094 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.3852, allocations: 4 kB / 1.094 GB, free: 3.082 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.3852, allocations: 8 kB / 1.094 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3853, allocations: 8 kB / 1.094 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3853, allocations: 0 / 1.094 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.3866, allocations: 0.7719 MB / 1.094 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.3868, allocations: 168.4 kB / 1.095 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.3868, allocations: 23.91 kB / 1.095 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.3872, allocations: 39.77 kB / 1.095 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.3873, allocations: 44.31 kB / 1.095 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.3873, allocations: 12 kB / 1.095 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003469/0.3877, allocations: 306.9 kB / 1.095 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3877, allocations: 0 / 1.095 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004542/0.3881, allocations: 143.5 kB / 1.095 GB, free: 1.539 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.0001613/0.3883, allocations: 116.7 kB / 1.095 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009303/0.3892, allocations: 489.5 kB / 1.096 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3893, allocations: 4 kB / 1.096 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.3897, allocations: 222.4 kB / 1.096 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008081/0.3905, allocations: 136.5 kB / 1.096 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.3934, allocations: 1.696 MB / 1.098 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.3939, allocations: 0.8824 MB / 1.099 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003047/0.3942, allocations: 68.58 kB / 1.099 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.3943, allocations: 43.42 kB / 1.099 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of SimCode: time 7.81e-07/0.3943, allocations: 3.938 kB / 1.099 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of Templates: time 0.01245/0.4068, allocations: 5.525 MB / 1.104 GB, free: 8.371 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)