Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Validation.LimPIDReset.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003429/0.003429, allocations: 358.2 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.273/1.273, allocations: 165.8 MB / 183.1 MB, free: 5.914 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.415/4.415, allocations: 410.7 MB / 0.6001 GB, free: 37.09 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002803/0.002802, allocations: 184.6 kB / 0.6668 GB, free: 1.836 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006431/0.0006434, allocations: 11.06 kB / 0.7428 GB, free: 73.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1299, allocations: 67.46 MB / 0.8087 GB, free: 17.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.007155/0.1371, allocations: 3.668 MB / 0.8123 GB, free: 13.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0175/0.1547, allocations: 1.462 MB / 0.8137 GB, free: 12.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.1559, allocations: 39.81 kB / 0.8138 GB, free: 11.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1563, allocations: 67.17 kB / 0.8138 GB, free: 11.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006448/0.1627, allocations: 218.4 kB / 0.814 GB, free: 11.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.1657, allocations: 0.5141 MB / 0.8145 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002575/0.1683, allocations: 1.07 MB / 0.8156 GB, free: 10.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008389/0.1767, allocations: 355.3 kB / 0.8159 GB, free: 9.773 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.1779, allocations: 333.9 kB / 0.8162 GB, free: 9.445 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006957/0.1786, allocations: 333.8 kB / 0.8166 GB, free: 9.117 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.1789, allocations: 32 kB / 0.8166 GB, free: 9.086 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1791, allocations: 24 kB / 0.8166 GB, free: 9.062 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.1793, allocations: 139.2 kB / 0.8168 GB, free: 8.926 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.1795, allocations: 181.1 kB / 0.8169 GB, free: 8.742 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.1809, allocations: 0.8068 MB / 0.8177 GB, free: 7.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.181, allocations: 0 / 0.8177 GB, free: 7.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.181, allocations: 0 / 0.8177 GB, free: 7.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.148e-05/0.181, allocations: 0 / 0.8177 GB, free: 7.934 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.0131/0.1942, allocations: 1.251 MB / 0.8189 GB, free: 6.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.1943, allocations: 16.03 kB / 0.819 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004929/0.1948, allocations: 122.5 kB / 0.8191 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/0.1975, allocations: 0.6996 MB / 0.8198 GB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.1977, allocations: 79.7 kB / 0.8198 GB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/0.198, allocations: 71.95 kB / 0.8199 GB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002911/0.2009, allocations: 0.7367 MB / 0.8206 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/0.2011, allocations: 3.984 kB / 0.8206 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.2012, allocations: 31.98 kB / 0.8206 GB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.2013, allocations: 16 kB / 0.8207 GB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/0.2043, allocations: 0.5244 MB / 0.8212 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00719/0.2115, allocations: 2.298 MB / 0.8234 GB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.2139, allocations: 0.6312 MB / 0.824 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008727/0.2149, allocations: 286.3 kB / 0.8243 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-05/0.2149, allocations: 16.55 kB / 0.8243 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.216, allocations: 327.1 kB / 0.8246 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 4.409e-06/0.216, allocations: 0 / 0.8246 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.002733/0.2188, allocations: 0.7637 MB / 0.8254 GB, free: 15.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.2189, allocations: 89.67 kB / 0.8255 GB, free: 15.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.2204, allocations: 0.748 MB / 0.8262 GB, free: 14.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.2206, allocations: 41.69 kB / 0.8262 GB, free: 14.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.2211, allocations: 436.5 kB / 0.8267 GB, free: 14.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.2215, allocations: 205 kB / 0.8269 GB, free: 14.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.2215, allocations: 12 kB / 0.8269 GB, free: 14.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2217, allocations: 330 kB / 0.8272 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008859/0.2226, allocations: 205.2 kB / 0.8274 GB, free: 13.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009492/0.2236, allocations: 308.5 kB / 0.8277 GB, free: 13.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009343/0.2245, allocations: 234.1 kB / 0.8279 GB, free: 13.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2246, allocations: 0 / 0.8279 GB, free: 13.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002382/0.227, allocations: 0.6694 MB / 0.8285 GB, free: 12.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.2272, allocations: 159.2 kB / 0.8287 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.2272, allocations: 0 / 0.8287 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.2272, allocations: 8 kB / 0.8287 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.2285, allocations: 143.8 kB / 0.8288 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.2286, allocations: 7.938 kB / 0.8288 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008681/0.2294, allocations: 83.34 kB / 0.8289 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/0.2295, allocations: 23.98 kB / 0.829 GB, free: 12.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2296, allocations: 4 kB / 0.829 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001858/0.2314, allocations: 0.5208 MB / 0.8295 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2315, allocations: 0 / 0.8295 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2315, allocations: 8 kB / 0.8295 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.2327, allocations: 143.7 kB / 0.8296 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.2328, allocations: 7.953 kB / 0.8296 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/0.2336, allocations: 75.53 kB / 0.8297 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.2337, allocations: 20 kB / 0.8297 GB, free: 11.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0005963/0.2343, allocations: 298 kB / 0.83 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.2345, allocations: 90.88 kB / 0.8301 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.2348, allocations: 101.3 kB / 0.8302 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.2349, allocations: 3.984 kB / 0.8302 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.2349, allocations: 3.953 kB / 0.8302 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/0.2353, allocations: 227.7 kB / 0.8304 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.2355, allocations: 16 kB / 0.8304 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008037/0.2363, allocations: 39.97 kB / 0.8305 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.2364, allocations: 36.5 kB / 0.8305 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002999/0.2394, allocations: 0.7017 MB / 0.8312 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003339/0.2428, allocations: 1.079 MB / 0.8322 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009194/0.2438, allocations: 264.3 kB / 0.8325 GB, free: 8.375 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001119/0.2449, allocations: 0.5109 MB / 0.833 GB, free: 7.852 MB / 394.7 MB Notification: Performance of Backend: time 1.132e-06/0.245, allocations: 0 / 0.833 GB, free: 7.852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00289/0.2479, allocations: 0.6989 MB / 0.8337 GB, free: 7.148 MB / 394.7 MB Notification: Performance of SimCode: time 0.005235/0.2531, allocations: 2.293 MB / 0.8359 GB, free: 4.805 MB / 394.7 MB Notification: Performance of Templates: time 0.03627/0.2895, allocations: 11.4 MB / 0.847 GB, free: 9.512 MB / 410.7 MB