Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.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.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.623/1.623, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009971/0.000997, allocations: 184.1 kB / 327.3 MB, free: 2.234 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.75/1.75, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.0008445/0.0008445, allocations: 90.34 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003547, allocations: 12.81 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2171, allocations: 106.3 MB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.00399/0.2212, allocations: 4.627 MB / 0.9054 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002798/0.224, allocations: 1.721 MB / 0.9071 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006165/0.2246, allocations: 31.88 kB / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.225, allocations: 198.1 kB / 0.9073 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004282/0.2255, allocations: 130 kB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.226, allocations: 335.4 kB / 0.9077 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000849/0.2269, allocations: 1.319 MB / 0.909 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005578/0.2274, allocations: 0.4902 MB / 0.9095 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.2277, allocations: 326 kB / 0.9098 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.228, allocations: 401.3 kB / 0.9102 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.363e-05/0.2281, allocations: 36 kB / 0.9102 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/0.2281, allocations: 40 kB / 0.9102 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.2282, allocations: 179 kB / 0.9104 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.2284, allocations: 213 kB / 0.9106 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000707/0.2291, allocations: 1.278 MB / 0.9119 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2291, allocations: 0 / 0.9119 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2291, allocations: 4 kB / 0.9119 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.396e-05/0.2291, allocations: 0 / 0.9119 GB, free: 52.55 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002604/0.2318, allocations: 1.534 MB / 0.9134 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2318, allocations: 8.031 kB / 0.9134 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.232, allocations: 154.1 kB / 0.9135 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008895/0.2329, allocations: 0.7308 MB / 0.9142 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/0.233, allocations: 82.08 kB / 0.9143 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.2331, allocations: 111.9 kB / 0.9144 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.2348, allocations: 1.11 MB / 0.9155 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.2349, allocations: 7.938 kB / 0.9155 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/0.2349, allocations: 40 kB / 0.9156 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.235, allocations: 28 kB / 0.9156 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.2366, allocations: 0.8821 MB / 0.9164 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.2407, allocations: 4.156 MB / 0.9205 GB, free: 43.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.2426, allocations: 1.081 MB / 0.9216 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007486/0.2434, allocations: 499.6 kB / 0.922 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.2435, allocations: 13 kB / 0.922 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008411/0.2443, allocations: 449.1 kB / 0.9225 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=84): time 2.956e-06/0.2443, allocations: 4 kB / 0.9225 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.002094/0.2464, allocations: 1.151 MB / 0.9236 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.2465, allocations: 214.6 kB / 0.9238 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000834/0.2473, allocations: 0.882 MB / 0.9247 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.2474, allocations: 45.7 kB / 0.9247 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.2477, allocations: 0.5431 MB / 0.9252 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.2479, allocations: 287.8 kB / 0.9255 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.2479, allocations: 16 kB / 0.9255 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.371e-05/0.248, allocations: 342 kB / 0.9259 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.2486, allocations: 345.8 kB / 0.9262 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007316/0.2494, allocations: 0.5242 MB / 0.9267 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006878/0.2501, allocations: 390.8 kB / 0.9271 GB, free: 36.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2501, allocations: 0 / 0.9271 GB, free: 36.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001567/0.2517, allocations: 1.004 MB / 0.9281 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.231e-05/0.2518, allocations: 148.2 kB / 0.9282 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2518, allocations: 4 kB / 0.9282 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.2518, allocations: 11.95 kB / 0.9282 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/0.2525, allocations: 211.7 kB / 0.9284 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.2526, allocations: 8 kB / 0.9284 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.2532, allocations: 171 kB / 0.9286 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.2532, allocations: 31.98 kB / 0.9286 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.144e-06/0.2532, allocations: 6.969 kB / 0.9286 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009515/0.2542, allocations: 0.695 MB / 0.9293 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2542, allocations: 4 kB / 0.9293 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.2542, allocations: 4 kB / 0.9293 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/0.2548, allocations: 175.8 kB / 0.9295 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2548, allocations: 7.984 kB / 0.9295 GB, free: 33.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.2552, allocations: 127.2 kB / 0.9296 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.2553, allocations: 28 kB / 0.9296 GB, free: 33.84 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.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 (109): * Single equations (assignments): 109 * 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.0003943/0.2557, allocations: 335.9 kB / 0.9299 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.914e-05/0.2558, allocations: 106.6 kB / 0.9301 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.256, allocations: 123.2 kB / 0.9302 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.256, allocations: 11.94 kB / 0.9302 GB, free: 33.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.256, allocations: 0 / 0.9302 GB, free: 33.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.256, allocations: 7.984 kB / 0.9302 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007993/0.2568, allocations: 0.9792 MB / 0.9311 GB, free: 32.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2568, allocations: 0 / 0.9311 GB, free: 32.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006674/0.2575, allocations: 179.8 kB / 0.9313 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.2575, allocations: 4 kB / 0.9313 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.2575, allocations: 19.98 kB / 0.9313 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2576, allocations: 4 kB / 0.9313 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2576, allocations: 0 / 0.9313 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.2596, allocations: 1.315 MB / 0.9326 GB, free: 30.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.2598, allocations: 199.5 kB / 0.9328 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.758e-05/0.2599, allocations: 16 kB / 0.9328 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.2603, allocations: 83.94 kB / 0.9329 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.741e-05/0.2604, allocations: 56.86 kB / 0.933 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.2604, allocations: 23.98 kB / 0.933 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005898/0.261, allocations: 0.5995 MB / 0.9336 GB, free: 29.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.261, allocations: 0 / 0.9336 GB, free: 29.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000669/0.2617, allocations: 378.4 kB / 0.9339 GB, free: 29.32 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.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 (84): * Single equations (assignments): 82 * 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.0001886/0.2619, allocations: 127.1 kB / 0.9341 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.2639, allocations: 1.205 MB / 0.9352 GB, free: 27.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2639, allocations: 4 kB / 0.9352 GB, free: 27.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006377/0.2645, allocations: 414.3 kB / 0.9356 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000998/0.2655, allocations: 259 kB / 0.9359 GB, free: 27.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.2684, allocations: 2.312 MB / 0.9381 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.2688, allocations: 1.081 MB / 0.9392 GB, free: 23.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.269, allocations: 79.42 kB / 0.9393 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.269, allocations: 0 / 0.9393 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.01571/0.2848, allocations: 13.08 MB / 0.952 GB, free: 10.73 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)