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.001195/0.001195, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001348/0.001348, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.747/1.747, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005176/0.0005177, allocations: 15.62 kB / 0.6736 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.268, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005108/0.2731, allocations: 4.742 MB / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00332/0.2765, allocations: 1.683 MB / 0.7934 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008127/0.2773, allocations: 23.94 kB / 0.7934 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.2776, allocations: 114.6 kB / 0.7935 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007995/0.2784, allocations: 259 kB / 0.7938 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.2797, allocations: 461.4 kB / 0.7942 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001396/0.2811, allocations: 0.9688 MB / 0.7952 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00075/0.2818, allocations: 0.5383 MB / 0.7957 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.2822, allocations: 354 kB / 0.796 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.2827, allocations: 429.2 kB / 0.7964 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.926e-05/0.2828, allocations: 43.98 kB / 0.7965 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.2829, allocations: 51.98 kB / 0.7965 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.2831, allocations: 179 kB / 0.7967 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.2833, allocations: 225 kB / 0.7969 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.2846, allocations: 1.469 MB / 0.7984 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2846, allocations: 4 kB / 0.7984 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd: time 3.006e-06/0.2846, allocations: 0 / 0.7984 GB, free: 432 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.2846, allocations: 0 / 0.7984 GB, free: 432 kB / 0.6075 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.002737/0.2874, allocations: 1.582 MB / 0.7999 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2874, allocations: 8.031 kB / 0.7999 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.2877, allocations: 162 kB / 0.8001 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.2888, allocations: 0.7775 MB / 0.8008 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.992e-05/0.2889, allocations: 86.17 kB / 0.8009 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.289, allocations: 119.9 kB / 0.801 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.2908, allocations: 1.093 MB / 0.8021 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.2908, allocations: 0 / 0.8021 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.124e-05/0.2909, allocations: 55.98 kB / 0.8021 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.291, allocations: 28 kB / 0.8022 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.2926, allocations: 0.8434 MB / 0.803 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005222/0.2978, allocations: 3.967 MB / 0.8069 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.3001, allocations: 1.059 MB / 0.8079 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.3001, allocations: 16.64 kB / 0.8079 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008305/0.301, allocations: 436.8 kB / 0.8083 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 2.826e-06/0.301, allocations: 0 / 0.8083 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.002159/0.3031, allocations: 1.105 MB / 0.8094 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.3033, allocations: 218.6 kB / 0.8096 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.3044, allocations: 0.9153 MB / 0.8105 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.607e-05/0.3045, allocations: 49.7 kB / 0.8106 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004622/0.3049, allocations: 0.5819 MB / 0.8111 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.3052, allocations: 291.8 kB / 0.8114 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.3052, allocations: 16 kB / 0.8114 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3053, allocations: 341.9 kB / 0.8117 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007082/0.3061, allocations: 353.8 kB / 0.8121 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008914/0.307, allocations: 0.5872 MB / 0.8127 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008043/0.3078, allocations: 448.6 kB / 0.8131 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3078, allocations: 3.938 kB / 0.8131 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001972/0.3098, allocations: 1.107 MB / 0.8142 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007191/0.3105, allocations: 1.698 MB / 0.8158 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.3105, allocations: 4 kB / 0.8158 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/0.3106, allocations: 8 kB / 0.8158 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.3113, allocations: 215.7 kB / 0.816 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.3114, allocations: 11.94 kB / 0.8161 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008229/0.3122, allocations: 198.9 kB / 0.8162 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/0.3123, allocations: 40 kB / 0.8163 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.3123, allocations: 4 kB / 0.8163 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/0.3135, allocations: 0.81 MB / 0.8171 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3135, allocations: 8.125 kB / 0.8171 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3135, allocations: 12 kB / 0.8171 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.3141, allocations: 167.8 kB / 0.8173 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.3141, allocations: 8 kB / 0.8173 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.3148, allocations: 159 kB / 0.8174 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.3148, allocations: 32 kB / 0.8174 GB, free: 12.19 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,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006356/0.3155, allocations: 352.9 kB / 0.8178 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.3156, allocations: 122.5 kB / 0.8179 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.3158, allocations: 115.7 kB / 0.818 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.3159, allocations: 11.98 kB / 0.818 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.3159, allocations: 0 / 0.818 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.3159, allocations: 3.984 kB / 0.818 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.3171, allocations: 0.9995 MB / 0.819 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3171, allocations: 0 / 0.819 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/0.3178, allocations: 171.8 kB / 0.8192 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3178, allocations: 4 kB / 0.8192 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.3178, allocations: 19.95 kB / 0.8192 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3179, allocations: 4 kB / 0.8192 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3179, allocations: 0 / 0.8192 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.32, allocations: 1.273 MB / 0.8204 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.3202, allocations: 203.4 kB / 0.8206 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/0.3203, allocations: 16 kB / 0.8206 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.3207, allocations: 83.83 kB / 0.8207 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.3208, allocations: 40.94 kB / 0.8208 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.3209, allocations: 31.98 kB / 0.8208 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008166/0.3217, allocations: 0.6124 MB / 0.8214 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3217, allocations: 0 / 0.8214 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001077/0.3228, allocations: 414.3 kB / 0.8218 GB, free: 7.633 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 (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.000245/0.323, allocations: 127.1 kB / 0.8219 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002397/0.3255, allocations: 1.388 MB / 0.8233 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.3255, allocations: 0 / 0.8233 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006618/0.3261, allocations: 403.1 kB / 0.8236 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008956/0.327, allocations: 230.8 kB / 0.8239 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.3302, allocations: 2.341 MB / 0.8262 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/0.3309, allocations: 1.117 MB / 0.8272 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005065/0.3314, allocations: 140.3 kB / 0.8274 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.3316, allocations: 79.41 kB / 0.8275 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of SimCode: time 7.41e-07/0.3316, allocations: 0 / 0.8275 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of Templates: time 0.02004/0.3516, allocations: 11.15 MB / 0.8383 GB, free: 6.719 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: