Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.313/2.313, 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.001516/0.001516, allocations: 178.5 kB / 325.6 MB, free: 2.832 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.54/2.54, allocations: 205.4 MB / 0.5766 GB, free: 21.16 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.001649/0.001648, allocations: 96.11 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 11.16 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 106.3 MB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004745/0.214, allocations: 3.155 MB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003479/0.2175, allocations: 1.263 MB / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000743/0.2183, allocations: 19.88 kB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.2185, allocations: 55.38 kB / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.2195, allocations: 187.3 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.2219, allocations: 479 kB / 0.9039 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.2236, allocations: 0.6022 MB / 0.9045 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005939/0.2243, allocations: 259.1 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006193/0.2249, allocations: 290.6 kB / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.2253, allocations: 262.4 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.277e-05/0.2254, allocations: 20 kB / 0.9053 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.231e-05/0.2255, allocations: 24 kB / 0.9053 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.2256, allocations: 107.4 kB / 0.9054 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.2258, allocations: 137.3 kB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008877/0.2267, allocations: 0.6195 MB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2267, allocations: 0 / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2267, allocations: 0 / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.2267, allocations: 4 kB / 0.9061 GB, free: 58.5 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004443/0.2312, allocations: 1.074 MB / 0.9072 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.2313, allocations: 8.031 kB / 0.9072 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005015/0.2318, allocations: 98.83 kB / 0.9073 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.2341, allocations: 0.5746 MB / 0.9078 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.2344, allocations: 96.39 kB / 0.9079 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.2347, allocations: 52 kB / 0.908 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.2373, allocations: 0.6079 MB / 0.9086 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.2374, allocations: 4 kB / 0.9086 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.2375, allocations: 23.98 kB / 0.9086 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.2376, allocations: 12 kB / 0.9086 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/0.2401, allocations: 443.6 kB / 0.909 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006474/0.2466, allocations: 2.133 MB / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003354/0.2501, allocations: 0.5187 MB / 0.9116 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.059e-05/0.2502, allocations: 15.97 kB / 0.9116 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/0.2519, allocations: 293.9 kB / 0.9119 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 6.572e-06/0.2519, allocations: 0 / 0.9119 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.003697/0.2557, allocations: 0.6308 MB / 0.9125 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.2558, allocations: 88.86 kB / 0.9126 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.2573, allocations: 0.6216 MB / 0.9132 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.2575, allocations: 37.7 kB / 0.9133 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.258, allocations: 352.9 kB / 0.9136 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.2583, allocations: 161.7 kB / 0.9138 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.2584, allocations: 8 kB / 0.9138 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2586, allocations: 322 kB / 0.9141 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.2598, allocations: 189 kB / 0.9143 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.2611, allocations: 293.3 kB / 0.9145 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.2624, allocations: 230.4 kB / 0.9148 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.2624, allocations: 4 kB / 0.9148 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003085/0.2655, allocations: 0.6139 MB / 0.9154 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003175/0.2659, allocations: 0.9869 MB / 0.9163 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.266, allocations: 4 kB / 0.9163 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.314e-05/0.266, allocations: 7.938 kB / 0.9163 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.2675, allocations: 119.8 kB / 0.9164 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/0.2676, allocations: 7.938 kB / 0.9165 GB, free: 47.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.2687, allocations: 71.41 kB / 0.9165 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/0.2688, allocations: 16 kB / 0.9165 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2688, allocations: 9.984 kB / 0.9165 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002485/0.2713, allocations: 0.5038 MB / 0.917 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.2714, allocations: 4 kB / 0.917 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.2714, allocations: 4 kB / 0.917 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.2728, allocations: 103.9 kB / 0.9171 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.2728, allocations: 11.94 kB / 0.9172 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.2739, allocations: 55.7 kB / 0.9172 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/0.274, allocations: 27.98 kB / 0.9172 GB, free: 46.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0006148/0.2746, allocations: 268.9 kB / 0.9175 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.2748, allocations: 79.02 kB / 0.9176 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.2751, allocations: 83.33 kB / 0.9177 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.2751, allocations: 4 kB / 0.9177 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.2752, allocations: 0 / 0.9177 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.2752, allocations: 0 / 0.9177 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.2764, allocations: 0.622 MB / 0.9183 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2765, allocations: 4 kB / 0.9183 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.2779, allocations: 87.89 kB / 0.9183 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.2779, allocations: 0 / 0.9183 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.382e-05/0.278, allocations: 19.94 kB / 0.9184 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.278, allocations: 0 / 0.9184 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.278, allocations: 4 kB / 0.9184 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003738/0.2818, allocations: 0.7473 MB / 0.9191 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/0.2823, allocations: 192 kB / 0.9193 GB, free: 44.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.2824, allocations: 12 kB / 0.9193 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.2836, allocations: 47.92 kB / 0.9193 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.2838, allocations: 39.88 kB / 0.9194 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.404e-05/0.2839, allocations: 15.98 kB / 0.9194 GB, free: 44.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001033/0.285, allocations: 423.1 kB / 0.9198 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.51e-07/0.285, allocations: 0 / 0.9198 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001297/0.2863, allocations: 219.4 kB / 0.92 GB, free: 43.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0002292/0.2865, allocations: 115.1 kB / 0.9201 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003789/0.2904, allocations: 0.8049 MB / 0.9209 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.2904, allocations: 3.938 kB / 0.9209 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.2916, allocations: 227.6 kB / 0.9211 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.2937, allocations: 175.2 kB / 0.9213 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.2981, allocations: 1.38 MB / 0.9226 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.2987, allocations: 0.9339 MB / 0.9236 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001011/0.2997, allocations: 97.3 kB / 0.9236 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.3001, allocations: 47.44 kB / 0.9237 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of SimCode: time 1.372e-06/0.3001, allocations: 0 / 0.9237 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.02559/0.3257, allocations: 6.892 MB / 0.9304 GB, free: 33.06 MB / 0.6042 GB