Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.285/2.285, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001739/0.001739, allocations: 179 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.654/2.654, allocations: 205.4 MB / 0.5766 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.00117, allocations: 97.03 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005065/0.0005066, allocations: 14.97 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.207, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004868/0.2119, allocations: 3.424 MB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003106/0.2151, allocations: 1.295 MB / 0.9035 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005445/0.2157, allocations: 19.94 kB / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.2159, allocations: 67.34 kB / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007988/0.2167, allocations: 219.3 kB / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.2178, allocations: 302.2 kB / 0.9041 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.2191, allocations: 0.5938 MB / 0.9046 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005755/0.2197, allocations: 299.5 kB / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004048/0.2202, allocations: 234.9 kB / 0.9051 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.2205, allocations: 246.7 kB / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.2206, allocations: 24 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.906e-05/0.2207, allocations: 24 kB / 0.9054 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2208, allocations: 99.47 kB / 0.9055 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.221, allocations: 149.3 kB / 0.9057 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009026/0.2219, allocations: 0.8028 MB / 0.9064 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2219, allocations: 0 / 0.9064 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.524e-06/0.2219, allocations: 4 kB / 0.9064 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.2219, allocations: 3.938 kB / 0.9065 GB, free: 57.68 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.002378/0.2243, allocations: 0.9575 MB / 0.9074 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.2244, allocations: 8.031 kB / 0.9074 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.2246, allocations: 86.92 kB / 0.9075 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.2258, allocations: 0.5291 MB / 0.908 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.2259, allocations: 45.31 kB / 0.908 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.226, allocations: 60 kB / 0.9081 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.2276, allocations: 0.6036 MB / 0.9087 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.2277, allocations: 3.906 kB / 0.9087 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.2278, allocations: 20 kB / 0.9087 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.2278, allocations: 16 kB / 0.9087 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.2293, allocations: 465 kB / 0.9092 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005667/0.235, allocations: 2.028 MB / 0.9111 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.2376, allocations: 453 kB / 0.9116 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/0.2378, allocations: 4.438 kB / 0.9116 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/0.2393, allocations: 265.2 kB / 0.9118 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 7.113e-06/0.2393, allocations: 0 / 0.9118 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.003293/0.2426, allocations: 0.5999 MB / 0.9124 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/0.2428, allocations: 63.84 kB / 0.9125 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.2439, allocations: 430.1 kB / 0.9129 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.2441, allocations: 37.7 kB / 0.9129 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.2445, allocations: 332.9 kB / 0.9132 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.2448, allocations: 161.7 kB / 0.9134 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.2449, allocations: 12 kB / 0.9134 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.245, allocations: 366.8 kB / 0.9138 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009941/0.246, allocations: 173 kB / 0.9139 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.2471, allocations: 253.8 kB / 0.9142 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.2482, allocations: 219.9 kB / 0.9144 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.2483, allocations: 4 kB / 0.9144 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002635/0.2509, allocations: 0.5663 MB / 0.9149 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.633e-05/0.2511, allocations: 37.66 kB / 0.915 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.2511, allocations: 0 / 0.915 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.389e-05/0.2511, allocations: 8 kB / 0.915 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.2525, allocations: 124.1 kB / 0.9151 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.2526, allocations: 4 kB / 0.9151 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009809/0.2536, allocations: 67.5 kB / 0.9152 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.304e-05/0.2537, allocations: 19.98 kB / 0.9152 GB, free: 48.42 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 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005777/0.2543, allocations: 209.7 kB / 0.9154 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.2545, allocations: 55.34 kB / 0.9154 GB, free: 48.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.2547, allocations: 65.53 kB / 0.9155 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.2548, allocations: 7.938 kB / 0.9155 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.2548, allocations: 0 / 0.9155 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.2548, allocations: 4 kB / 0.9155 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/0.2588, allocations: 1.189 MB / 0.9167 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.2589, allocations: 3.953 kB / 0.9167 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/0.2603, allocations: 103.9 kB / 0.9168 GB, free: 46.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.2604, allocations: 0 / 0.9168 GB, free: 46.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.921e-05/0.2605, allocations: 16 kB / 0.9168 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.2605, allocations: 4 kB / 0.9168 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2605, allocations: 0 / 0.9168 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/0.2638, allocations: 0.768 MB / 0.9175 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.2642, allocations: 176.3 kB / 0.9177 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.2644, allocations: 12 kB / 0.9177 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008077/0.2652, allocations: 31.97 kB / 0.9178 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.2654, allocations: 36.39 kB / 0.9178 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/0.2655, allocations: 15.98 kB / 0.9178 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007056/0.2662, allocations: 302.9 kB / 0.9181 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.71e-07/0.2663, allocations: 4 kB / 0.9181 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001001/0.2673, allocations: 139.4 kB / 0.9182 GB, free: 45.2 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000219/0.2675, allocations: 123.2 kB / 0.9183 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.2697, allocations: 485 kB / 0.9188 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.2698, allocations: 8.438 kB / 0.9188 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.2709, allocations: 218.4 kB / 0.919 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.2726, allocations: 138 kB / 0.9192 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00614/0.2788, allocations: 1.618 MB / 0.9207 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.2792, allocations: 0.9058 MB / 0.9216 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004854/0.2797, allocations: 64.58 kB / 0.9217 GB, free: 41.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.2799, allocations: 39.42 kB / 0.9217 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of SimCode: time 1.243e-06/0.2799, allocations: 0 / 0.9217 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.01572/0.2956, allocations: 5.342 MB / 0.9269 GB, free: 36.28 MB / 0.6042 GB