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.001376/0.001376, 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.001534/0.001534, allocations: 194.5 kB / 16.25 MB, free: 6.617 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.54/1.54, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001376, allocations: 62.62 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2911, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006381/0.2975, allocations: 4.152 MB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002814/0.3003, allocations: 1.289 MB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007322/0.3011, allocations: 23.88 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004994/0.3016, allocations: 91.22 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006628/0.3023, allocations: 146.8 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3035, allocations: 396 kB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.3048, allocations: 0.9555 MB / 1.075 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000809/0.3056, allocations: 450.1 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.3061, allocations: 326.7 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005111/0.3067, allocations: 342.3 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.3069, allocations: 92 kB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.307, allocations: 88 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.3072, allocations: 179.4 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.3077, allocations: 394 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.3087, allocations: 1.032 MB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3087, allocations: 0 / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3088, allocations: 0 / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.915e-05/0.3088, allocations: 0 / 1.077 GB, free: 0.8633 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.002297/0.3111, allocations: 1.085 MB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3112, allocations: 8.031 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.3114, allocations: 91.98 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009777/0.3124, allocations: 0.5378 MB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.3124, allocations: 41.69 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.3125, allocations: 60.38 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.3138, allocations: 0.6156 MB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.3138, allocations: 4 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.3139, allocations: 20 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3139, allocations: 19.94 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.315, allocations: 457 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/0.3183, allocations: 2.02 MB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000995/0.3193, allocations: 445 kB / 1.083 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.3198, allocations: 238.1 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.3198, allocations: 8.438 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006352/0.3205, allocations: 265.2 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=49): time 3.026e-06/0.3205, allocations: 0 / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49): time 0.001376/0.3219, allocations: 0.585 MB / 1.084 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3219, allocations: 59.84 kB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.3225, allocations: 446 kB / 1.084 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.3225, allocations: 37.7 kB / 1.084 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.3228, allocations: 328.3 kB / 1.084 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.323, allocations: 165.5 kB / 1.085 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.3231, allocations: 90.25 kB / 1.085 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3233, allocations: 366.8 kB / 1.085 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.3237, allocations: 165 kB / 1.085 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.3241, allocations: 261.8 kB / 1.085 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/0.325, allocations: 448 kB / 1.086 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.325, allocations: 0 / 1.086 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001052/0.326, allocations: 0.5585 MB / 1.086 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.3261, allocations: 45.62 kB / 1.087 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3261, allocations: 0 / 1.087 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3261, allocations: 4 kB / 1.087 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.3266, allocations: 116.1 kB / 1.087 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.3267, allocations: 8 kB / 1.087 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.327, allocations: 63.41 kB / 1.087 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.3271, allocations: 20 kB / 1.087 GB, free: 6.922 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.0002518/0.3274, allocations: 205.7 kB / 1.087 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.3274, allocations: 63.22 kB / 1.087 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.3276, allocations: 65.58 kB / 1.087 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3276, allocations: 4 kB / 1.087 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3276, allocations: 0 / 1.087 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3276, allocations: 3.984 kB / 1.087 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.3295, allocations: 1.178 MB / 1.088 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3295, allocations: 4 kB / 1.088 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.33, allocations: 99.81 kB / 1.088 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.33, allocations: 0 / 1.088 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.3301, allocations: 12 kB / 1.088 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3301, allocations: 0 / 1.088 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.3301, allocations: 7.938 kB / 1.088 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.3314, allocations: 0.7524 MB / 1.089 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.3317, allocations: 172.3 kB / 1.089 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.062e-05/0.3318, allocations: 12 kB / 1.089 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.3321, allocations: 31.91 kB / 1.089 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.3322, allocations: 32.39 kB / 1.089 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.3322, allocations: 20.11 kB / 1.089 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003406/0.3326, allocations: 310.8 kB / 1.09 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3326, allocations: 0 / 1.09 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004593/0.3331, allocations: 139.5 kB / 1.09 GB, free: 3.734 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.0001468/0.3332, allocations: 119.7 kB / 1.09 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.3343, allocations: 0.4931 MB / 1.09 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3343, allocations: 4 kB / 1.09 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.3348, allocations: 210.4 kB / 1.091 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/0.3356, allocations: 156.5 kB / 1.091 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.3385, allocations: 1.611 MB / 1.092 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.339, allocations: 0.886 MB / 1.093 GB, free: 192 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002935/0.3393, allocations: 64.58 kB / 1.093 GB, free: 124 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3394, allocations: 43.42 kB / 1.093 GB, free: 80 kB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3394, allocations: 0 / 1.093 GB, free: 80 kB / 0.8419 GB Notification: Performance of Templates: time 0.012/0.3514, allocations: 5.819 MB / 1.099 GB, free: 10.34 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)