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.368/1.368, 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.0009992/0.0009993, allocations: 172.2 kB / 326.5 MB, free: 2.703 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.767/1.767, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008295/0.0008295, allocations: 94.41 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 11.84 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2582, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005037/0.2633, allocations: 5.198 MB / 0.9018 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004098/0.2674, allocations: 1.747 MB / 0.9036 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.2689, allocations: 35.88 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.2695, allocations: 186.2 kB / 0.9038 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006244/0.2702, allocations: 138.9 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008803/0.2711, allocations: 463.3 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009197/0.272, allocations: 1.421 MB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007614/0.2728, allocations: 0.6757 MB / 0.9064 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.273, allocations: 349.7 kB / 0.9067 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.2734, allocations: 424.9 kB / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.233e-05/0.2735, allocations: 40 kB / 0.9072 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.836e-05/0.2735, allocations: 32 kB / 0.9072 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2737, allocations: 186.8 kB / 0.9074 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.2739, allocations: 480.3 kB / 0.9078 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008354/0.2748, allocations: 1.541 MB / 0.9093 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2748, allocations: 0 / 0.9093 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2748, allocations: 0 / 0.9093 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.2748, allocations: 0 / 0.9093 GB, free: 55.23 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.002352/0.2772, allocations: 1.514 MB / 0.9108 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.2772, allocations: 8.031 kB / 0.9108 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.2774, allocations: 151.1 kB / 0.911 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009022/0.2783, allocations: 0.7818 MB / 0.9117 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/0.2784, allocations: 78.45 kB / 0.9118 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.2785, allocations: 112.4 kB / 0.9119 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.2801, allocations: 1.118 MB / 0.913 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.2801, allocations: 4 kB / 0.913 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.2802, allocations: 40 kB / 0.913 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.2802, allocations: 28 kB / 0.9131 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.2817, allocations: 0.89 MB / 0.9139 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004251/0.286, allocations: 4.159 MB / 0.918 GB, free: 46.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.2879, allocations: 1.077 MB / 0.9191 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/0.2887, allocations: 0.4918 MB / 0.9195 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.565e-05/0.2888, allocations: 9 kB / 0.9195 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008542/0.2896, allocations: 465 kB / 0.92 GB, free: 43.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=84): time 3.997e-06/0.2896, allocations: 4 kB / 0.92 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.002066/0.2917, allocations: 1.155 MB / 0.9211 GB, free: 42.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.2918, allocations: 222.6 kB / 0.9213 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000826/0.2926, allocations: 0.8782 MB / 0.9222 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.2927, allocations: 41.7 kB / 0.9222 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.293, allocations: 0.5509 MB / 0.9228 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.2932, allocations: 287.8 kB / 0.923 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.124e-05/0.2932, allocations: 81.67 kB / 0.9231 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.2934, allocations: 341.9 kB / 0.9234 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000645/0.294, allocations: 349.8 kB / 0.9238 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007307/0.2947, allocations: 0.5398 MB / 0.9243 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.296, allocations: 0.7923 MB / 0.9251 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.296, allocations: 7.938 kB / 0.9251 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001596/0.2976, allocations: 1.008 MB / 0.9261 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.2977, allocations: 152.2 kB / 0.9262 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2978, allocations: 4 kB / 0.9262 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2978, allocations: 4 kB / 0.9262 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.2985, allocations: 219.7 kB / 0.9264 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.2985, allocations: 8 kB / 0.9264 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/0.2991, allocations: 170.9 kB / 0.9266 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.834e-05/0.2992, allocations: 27.94 kB / 0.9266 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.2992, allocations: 4 kB / 0.9266 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009418/0.3001, allocations: 0.6989 MB / 0.9273 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3002, allocations: 0 / 0.9273 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-06/0.3002, allocations: 8.25 kB / 0.9273 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/0.3007, allocations: 175.7 kB / 0.9275 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3007, allocations: 8 kB / 0.9275 GB, free: 36.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.3012, allocations: 127.1 kB / 0.9276 GB, free: 35.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.3012, allocations: 28 kB / 0.9276 GB, free: 35.89 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.0003487/0.3015, allocations: 332.9 kB / 0.928 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.3017, allocations: 114.5 kB / 0.9281 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.3018, allocations: 115.2 kB / 0.9282 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3019, allocations: 3.984 kB / 0.9282 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3019, allocations: 0 / 0.9282 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.302, allocations: 195.5 kB / 0.9284 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-05/0.3021, allocations: 24 kB / 0.9284 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.3026, allocations: 83.92 kB / 0.9285 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3027, allocations: 52.88 kB / 0.9285 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001828/0.3045, allocations: 1.009 MB / 0.9295 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002115/0.3066, allocations: 1.489 MB / 0.931 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006194/0.3073, allocations: 415.7 kB / 0.9314 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005995/0.3079, allocations: 0.6074 MB / 0.932 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of Backend: time 5.71e-07/0.3079, allocations: 0 / 0.932 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.3097, allocations: 0.996 MB / 0.9329 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002896/0.3126, allocations: 2.809 MB / 0.9357 GB, free: 27.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.01958/0.3322, allocations: 13.96 MB / 0.9493 GB, free: 13.7 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)