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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.328/1.328, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 176.3 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205 MB / 0.5767 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008044/0.0008042, allocations: 92.98 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003753, allocations: 11.44 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2481, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004464/0.2526, allocations: 3.826 MB / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003078/0.2557, allocations: 1.333 MB / 0.9018 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.2562, allocations: 23.94 kB / 0.9018 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.2565, allocations: 95.2 kB / 0.9019 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.2568, allocations: 142.8 kB / 0.902 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007554/0.2576, allocations: 387.3 kB / 0.9024 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005684/0.2581, allocations: 0.885 MB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004666/0.2586, allocations: 414.1 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.2588, allocations: 238.7 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.2591, allocations: 250.4 kB / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.2591, allocations: 27.94 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.465e-05/0.2592, allocations: 27.94 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.2593, allocations: 99.42 kB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.2595, allocations: 310 kB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005964/0.2601, allocations: 0.9496 MB / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2601, allocations: 0 / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2601, allocations: 4 kB / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.2601, allocations: 4 kB / 0.9055 GB, free: 59.14 MB / 0.6042 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.001458/0.2616, allocations: 0.9485 MB / 0.9064 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.2617, allocations: 8.031 kB / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.2618, allocations: 83.91 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006684/0.2625, allocations: 0.5533 MB / 0.9071 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.2625, allocations: 45.69 kB / 0.9071 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/0.2626, allocations: 56.38 kB / 0.9071 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008855/0.2635, allocations: 0.6156 MB / 0.9077 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.2635, allocations: 0 / 0.9077 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.2636, allocations: 24 kB / 0.9078 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.2636, allocations: 19.98 kB / 0.9078 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.2644, allocations: 473 kB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.2667, allocations: 2.028 MB / 0.9102 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007549/0.2675, allocations: 457 kB / 0.9107 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.2678, allocations: 242.1 kB / 0.9109 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.2679, allocations: 8.438 kB / 0.9109 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/0.2684, allocations: 261.3 kB / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 2.254e-06/0.2684, allocations: 0 / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.001133/0.2695, allocations: 0.6038 MB / 0.9117 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.2696, allocations: 55.84 kB / 0.9118 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.27, allocations: 450 kB / 0.9122 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.27, allocations: 37.69 kB / 0.9123 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.2702, allocations: 325 kB / 0.9126 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.479e-05/0.2703, allocations: 169.5 kB / 0.9127 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.2703, allocations: 45.7 kB / 0.9128 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.2704, allocations: 370.8 kB / 0.9131 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.2707, allocations: 173 kB / 0.9133 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.2711, allocations: 249.8 kB / 0.9135 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.2718, allocations: 468 kB / 0.914 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.2718, allocations: 7.938 kB / 0.914 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008565/0.2727, allocations: 0.5663 MB / 0.9145 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.2727, allocations: 41.62 kB / 0.9146 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2727, allocations: 0 / 0.9146 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2727, allocations: 8.188 kB / 0.9146 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.2732, allocations: 123.8 kB / 0.9147 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.2732, allocations: 4 kB / 0.9147 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.2736, allocations: 67.5 kB / 0.9148 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.2736, allocations: 16 kB / 0.9148 GB, free: 49.27 MB / 0.6042 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.0002165/0.2738, allocations: 212.9 kB / 0.915 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.2739, allocations: 67.27 kB / 0.915 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.274, allocations: 57.59 kB / 0.9151 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.274, allocations: 3.984 kB / 0.9151 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.274, allocations: 0 / 0.9151 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.2742, allocations: 172.3 kB / 0.9153 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.2742, allocations: 12 kB / 0.9153 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.2745, allocations: 31.97 kB / 0.9153 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.2746, allocations: 36.39 kB / 0.9153 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001085/0.2757, allocations: 0.5815 MB / 0.9159 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001104/0.2768, allocations: 0.8648 MB / 0.9168 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003249/0.2771, allocations: 219.5 kB / 0.917 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002691/0.2774, allocations: 310.9 kB / 0.9173 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of Backend: time 4.71e-07/0.2774, allocations: 0 / 0.9173 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007709/0.2782, allocations: 411.2 kB / 0.9177 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001985/0.2802, allocations: 1.97 MB / 0.9196 GB, free: 44.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.009856/0.2901, allocations: 6.431 MB / 0.9259 GB, free: 37.89 MB / 0.6042 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)