Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 191.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 292.2 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 60.77 kB / 0.6708 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.251, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.006878/0.2579, allocations: 5.594 MB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003629/0.2615, allocations: 1.741 MB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009712/0.2626, allocations: 35.88 kB / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.2632, allocations: 190.2 kB / 0.7901 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006645/0.2639, allocations: 142.8 kB / 0.7902 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.265, allocations: 0.5608 MB / 0.7907 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.2663, allocations: 1.518 MB / 0.7922 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.2674, allocations: 0.8051 MB / 0.793 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005033/0.2679, allocations: 473.5 kB / 0.7935 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004891/0.2684, allocations: 0.5553 MB / 0.794 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.2686, allocations: 76 kB / 0.7941 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.2688, allocations: 87.98 kB / 0.7942 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.269, allocations: 258.7 kB / 0.7944 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004655/0.2695, allocations: 0.5821 MB / 0.795 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.271, allocations: 1.822 MB / 0.7968 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.271, allocations: 0 / 0.7968 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.042e-06/0.271, allocations: 0 / 0.7968 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.271, allocations: 0 / 0.7968 GB, free: 15.48 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003076/0.2741, allocations: 1.772 MB / 0.7985 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2742, allocations: 12.03 kB / 0.7985 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.2744, allocations: 163 kB / 0.7987 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.2755, allocations: 0.8015 MB / 0.7994 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.848e-05/0.2756, allocations: 82.55 kB / 0.7995 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.2757, allocations: 124.2 kB / 0.7996 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.2776, allocations: 1.089 MB / 0.8007 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.2776, allocations: 192 / 0.8007 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.871e-05/0.2777, allocations: 55.92 kB / 0.8008 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.2778, allocations: 28 kB / 0.8008 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.2794, allocations: 0.8082 MB / 0.8016 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005287/0.2847, allocations: 3.92 MB / 0.8054 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.2867, allocations: 0.9405 MB / 0.8063 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/0.2875, allocations: 458.6 kB / 0.8068 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-05/0.2875, allocations: 12.64 kB / 0.8068 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008882/0.2884, allocations: 419.4 kB / 0.8072 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 4.448e-06/0.2885, allocations: 4 kB / 0.8072 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.002154/0.2906, allocations: 1.034 MB / 0.8082 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.2907, allocations: 218.6 kB / 0.8084 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.2919, allocations: 0.9233 MB / 0.8093 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.889e-05/0.292, allocations: 45.7 kB / 0.8093 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.2924, allocations: 0.578 MB / 0.8099 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.2927, allocations: 283.8 kB / 0.8102 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.2929, allocations: 178.5 kB / 0.8103 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2931, allocations: 349.9 kB / 0.8107 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.2938, allocations: 348.6 kB / 0.811 GB, free: 456 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008483/0.2946, allocations: 0.5755 MB / 0.8116 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.296, allocations: 0.8439 MB / 0.8124 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.296, allocations: 4 kB / 0.8124 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001996/0.298, allocations: 1.072 MB / 0.8134 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.2981, allocations: 41.7 kB / 0.8135 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.2981, allocations: 4 kB / 0.8135 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.2981, allocations: 8 kB / 0.8135 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/0.2989, allocations: 211.8 kB / 0.8137 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.2989, allocations: 8 kB / 0.8137 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007838/0.2997, allocations: 158.9 kB / 0.8139 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.2998, allocations: 39.98 kB / 0.8139 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007909/0.3006, allocations: 466.6 kB / 0.8143 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000616/0.3012, allocations: 0.5014 MB / 0.8148 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009447/0.3022, allocations: 0.7113 MB / 0.8155 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.3022, allocations: 0 / 0.8155 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.00141/0.3036, allocations: 0.9233 MB / 0.8164 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.3036, allocations: 39.19 kB / 0.8165 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3036, allocations: 7.938 kB / 0.8165 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3037, allocations: 12 kB / 0.8165 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.3042, allocations: 171.8 kB / 0.8166 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3043, allocations: 8 kB / 0.8167 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.3049, allocations: 139.2 kB / 0.8168 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.3049, allocations: 32 kB / 0.8168 GB, free: 10.14 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,pulse.booPul.y,$PRE.pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * 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.0002562/0.3052, allocations: 251.9 kB / 0.8171 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.3053, allocations: 110.6 kB / 0.8172 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.3056, allocations: 123.6 kB / 0.8173 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.3056, allocations: 12 kB / 0.8173 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.3056, allocations: 0 / 0.8173 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3056, allocations: 7.922 kB / 0.8173 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.3068, allocations: 0.9995 MB / 0.8183 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3068, allocations: 0 / 0.8183 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006626/0.3075, allocations: 163.8 kB / 0.8184 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3075, allocations: 4 kB / 0.8184 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.3075, allocations: 16 kB / 0.8185 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3075, allocations: 0 / 0.8185 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3076, allocations: 0 / 0.8185 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.3097, allocations: 1.21 MB / 0.8196 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.3099, allocations: 203.4 kB / 0.8198 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.31, allocations: 16 kB / 0.8198 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.3104, allocations: 51.94 kB / 0.8199 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.3105, allocations: 48.94 kB / 0.8199 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.3106, allocations: 31.86 kB / 0.82 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008491/0.3114, allocations: 0.6241 MB / 0.8206 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.743e-06/0.3114, allocations: 4 kB / 0.8206 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001049/0.3125, allocations: 414.3 kB / 0.821 GB, free: 5.77 MB / 0.6387 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,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002442/0.3127, allocations: 135.3 kB / 0.8211 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002352/0.3151, allocations: 1.354 MB / 0.8224 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.3151, allocations: 0 / 0.8224 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006372/0.3158, allocations: 373.6 kB / 0.8228 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.3168, allocations: 247.1 kB / 0.823 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.32, allocations: 2.425 MB / 0.8254 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.3206, allocations: 1.093 MB / 0.8265 GB, free: 76 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000571/0.3212, allocations: 136.3 kB / 0.8266 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.3214, allocations: 83.41 kB / 0.8267 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.3214, allocations: 0 / 0.8267 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.02143/0.3428, allocations: 11.67 MB / 0.8381 GB, free: 4.301 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)