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.421/1.421, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.00112/0.00112, allocations: 177.8 kB / 326.5 MB, free: 2.676 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.836/1.836, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0008905/0.0008908, allocations: 85.17 kB / 0.6803 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 12.97 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2449, allocations: 105.4 MB / 0.8968 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.004803/0.2497, allocations: 5.191 MB / 0.9018 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003601/0.2534, allocations: 1.751 MB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.2545, allocations: 35.88 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.2552, allocations: 190.2 kB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006549/0.2558, allocations: 134.9 kB / 0.9039 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00091/0.2567, allocations: 459.4 kB / 0.9043 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.2579, allocations: 1.429 MB / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008882/0.2588, allocations: 0.6796 MB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.2593, allocations: 341.7 kB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.2596, allocations: 428.9 kB / 0.9071 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.957e-05/0.2597, allocations: 36 kB / 0.9072 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.774e-05/0.2597, allocations: 36 kB / 0.9072 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.2599, allocations: 182.8 kB / 0.9074 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.2602, allocations: 480.3 kB / 0.9078 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008031/0.261, allocations: 1.278 MB / 0.9091 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.261, allocations: 4 kB / 0.9091 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.261, allocations: 0 / 0.9091 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.261, allocations: 0 / 0.9091 GB, free: 55.43 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.00242/0.2634, allocations: 1.514 MB / 0.9106 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2635, allocations: 12.03 kB / 0.9106 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.2637, allocations: 151.1 kB / 0.9107 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009261/0.2646, allocations: 0.7818 MB / 0.9115 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.2647, allocations: 78.45 kB / 0.9115 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.2648, allocations: 108.4 kB / 0.9117 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.2664, allocations: 1.126 MB / 0.9127 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.2664, allocations: 0 / 0.9127 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.975e-05/0.2665, allocations: 44 kB / 0.9128 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.2665, allocations: 28 kB / 0.9128 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.2682, allocations: 0.8822 MB / 0.9137 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004502/0.2727, allocations: 4.163 MB / 0.9177 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.2747, allocations: 1.081 MB / 0.9188 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007386/0.2754, allocations: 499.6 kB / 0.9193 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.2755, allocations: 13 kB / 0.9193 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008025/0.2763, allocations: 461 kB / 0.9197 GB, free: 44.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=84): time 3.617e-06/0.2763, allocations: 0 / 0.9197 GB, free: 44.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.002103/0.2784, allocations: 1.155 MB / 0.9209 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.2785, allocations: 226.6 kB / 0.9211 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/0.2794, allocations: 0.886 MB / 0.9219 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.2795, allocations: 41.7 kB / 0.922 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.2798, allocations: 0.5431 MB / 0.9225 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.28, allocations: 287.8 kB / 0.9228 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.28, allocations: 73.67 kB / 0.9229 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.2801, allocations: 341.9 kB / 0.9232 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.2808, allocations: 357.8 kB / 0.9235 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007492/0.2815, allocations: 0.5358 MB / 0.924 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.2828, allocations: 0.7924 MB / 0.9248 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2828, allocations: 4 kB / 0.9248 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001734/0.2846, allocations: 1.008 MB / 0.9258 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/0.2847, allocations: 148.2 kB / 0.9259 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2847, allocations: 11.98 kB / 0.926 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.2847, allocations: 4 kB / 0.926 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.2854, allocations: 211.7 kB / 0.9262 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.2854, allocations: 15.98 kB / 0.9262 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006591/0.2861, allocations: 166.9 kB / 0.9263 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.2862, allocations: 31.98 kB / 0.9264 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.2862, allocations: 4 kB / 0.9264 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/0.2872, allocations: 0.695 MB / 0.9271 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2872, allocations: 0 / 0.9271 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-06/0.2872, allocations: 8 kB / 0.9271 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/0.2878, allocations: 171.7 kB / 0.9272 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2878, allocations: 8.25 kB / 0.9272 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/0.2883, allocations: 127.1 kB / 0.9274 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.2884, allocations: 27.98 kB / 0.9274 GB, free: 36.11 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005361/0.2889, allocations: 344.8 kB / 0.9277 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.289, allocations: 114.6 kB / 0.9278 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.2892, allocations: 115.2 kB / 0.9279 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.2892, allocations: 8 kB / 0.9279 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.2892, allocations: 0 / 0.9279 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.2893, allocations: 3.984 kB / 0.9279 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008596/0.2901, allocations: 0.9792 MB / 0.9289 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2901, allocations: 3.938 kB / 0.9289 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/0.2908, allocations: 179.8 kB / 0.9291 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.2908, allocations: 7.938 kB / 0.9291 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.2909, allocations: 16 kB / 0.9291 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.2909, allocations: 4 kB / 0.9291 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2909, allocations: 3.984 kB / 0.9291 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.293, allocations: 1.327 MB / 0.9304 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.2932, allocations: 195.5 kB / 0.9306 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/0.2933, allocations: 19.98 kB / 0.9306 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.2937, allocations: 79.94 kB / 0.9307 GB, free: 32.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.2938, allocations: 52.92 kB / 0.9307 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.2938, allocations: 20 kB / 0.9307 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006448/0.2945, allocations: 0.6074 MB / 0.9313 GB, free: 31.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2945, allocations: 4 kB / 0.9313 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007645/0.2953, allocations: 374.5 kB / 0.9317 GB, free: 31.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001806/0.2954, allocations: 131.1 kB / 0.9318 GB, free: 31.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001943/0.2974, allocations: 1.218 MB / 0.933 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2974, allocations: 4.188 kB / 0.933 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.2981, allocations: 417.6 kB / 0.9334 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.2991, allocations: 261.6 kB / 0.9337 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.3021, allocations: 2.418 MB / 0.936 GB, free: 27.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.3025, allocations: 1.074 MB / 0.9371 GB, free: 26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.3028, allocations: 79.42 kB / 0.9372 GB, free: 25.92 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.3028, allocations: 4 kB / 0.9372 GB, free: 25.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.02199/0.3248, allocations: 13.07 MB / 0.9499 GB, free: 12.88 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)