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.001085/0.001085, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 192.8 kB / 16.64 MB, free: 6.453 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.344/1.344, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.751/1.751, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001494/0.001494, allocations: 73.56 kB / 0.6723 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2294, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.007089/0.2366, allocations: 5.65 MB / 0.7897 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003642/0.2402, allocations: 1.791 MB / 0.7914 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.2415, allocations: 27.94 kB / 0.7914 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008814/0.2424, allocations: 261.2 kB / 0.7917 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008731/0.2433, allocations: 213.9 kB / 0.7919 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.2445, allocations: 0.635 MB / 0.7925 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001594/0.2462, allocations: 1.667 MB / 0.7941 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.2473, allocations: 0.8285 MB / 0.795 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.2479, allocations: 0.5484 MB / 0.7955 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005141/0.2484, allocations: 0.6061 MB / 0.7961 GB, free: 432 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.2486, allocations: 164 kB / 0.7962 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.2488, allocations: 176 kB / 0.7964 GB, free: 92 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.249, allocations: 342.8 kB / 0.7967 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004666/0.2495, allocations: 0.672 MB / 0.7974 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.251, allocations: 1.965 MB / 0.7993 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.251, allocations: 0 / 0.7993 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.663e-06/0.251, allocations: 0 / 0.7993 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.2511, allocations: 0 / 0.7993 GB, free: 13.11 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.002831/0.2539, allocations: 1.776 MB / 0.801 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.2539, allocations: 8.031 kB / 0.801 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.2542, allocations: 163 kB / 0.8012 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.2554, allocations: 0.8248 MB / 0.802 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/0.2555, allocations: 90.55 kB / 0.8021 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.2556, allocations: 112.4 kB / 0.8022 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.2573, allocations: 1.085 MB / 0.8033 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.2574, allocations: 4.188 kB / 0.8033 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/0.2575, allocations: 47.88 kB / 0.8033 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.2575, allocations: 28 kB / 0.8033 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.2591, allocations: 0.8121 MB / 0.8041 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004935/0.264, allocations: 3.881 MB / 0.8079 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.266, allocations: 0.9522 MB / 0.8089 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007474/0.2667, allocations: 450.6 kB / 0.8093 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.043e-05/0.2668, allocations: 20.62 kB / 0.8093 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007499/0.2676, allocations: 415.4 kB / 0.8097 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 3.848e-06/0.2676, allocations: 7.984 kB / 0.8097 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.002011/0.2696, allocations: 1.038 MB / 0.8107 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.872e-05/0.2697, allocations: 214.6 kB / 0.8109 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.2708, allocations: 0.9233 MB / 0.8118 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.77e-05/0.2708, allocations: 45.64 kB / 0.8119 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.2713, allocations: 0.5819 MB / 0.8124 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.2715, allocations: 287.8 kB / 0.8127 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.2717, allocations: 178.5 kB / 0.8129 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2718, allocations: 345.9 kB / 0.8132 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000702/0.2725, allocations: 344.7 kB / 0.8135 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008377/0.2734, allocations: 0.5833 MB / 0.8141 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.2748, allocations: 0.8322 MB / 0.8149 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2748, allocations: 0 / 0.8149 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001889/0.2767, allocations: 1.076 MB / 0.816 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.2768, allocations: 37.7 kB / 0.816 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.2768, allocations: 4 kB / 0.816 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.2768, allocations: 12 kB / 0.816 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007425/0.2776, allocations: 207.8 kB / 0.8162 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.2776, allocations: 11.98 kB / 0.8162 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007031/0.2783, allocations: 159 kB / 0.8164 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/0.2784, allocations: 39.98 kB / 0.8164 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006951/0.2791, allocations: 470 kB / 0.8169 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005617/0.2797, allocations: 0.4975 MB / 0.8174 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008971/0.2806, allocations: 0.7035 MB / 0.818 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.46e-06/0.2806, allocations: 8 kB / 0.8181 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.001371/0.282, allocations: 0.927 MB / 0.819 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.282, allocations: 43.2 kB / 0.819 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.282, allocations: 11.98 kB / 0.819 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.2821, allocations: 8 kB / 0.819 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.2827, allocations: 171.7 kB / 0.8192 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.2827, allocations: 8 kB / 0.8192 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.2833, allocations: 131.2 kB / 0.8193 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.2834, allocations: 43.92 kB / 0.8194 GB, free: 7.77 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.0002272/0.2836, allocations: 251.9 kB / 0.8196 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.2838, allocations: 110.6 kB / 0.8197 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.284, allocations: 119.7 kB / 0.8198 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.284, allocations: 8 kB / 0.8198 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.284, allocations: 3.938 kB / 0.8198 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.284, allocations: 3.984 kB / 0.8198 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.2851, allocations: 1.003 MB / 0.8208 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2851, allocations: 0 / 0.8208 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.2857, allocations: 159.8 kB / 0.821 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.2858, allocations: 4 kB / 0.821 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.2858, allocations: 19.98 kB / 0.821 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.2858, allocations: 4 kB / 0.821 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2858, allocations: 0 / 0.821 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.2879, allocations: 1.206 MB / 0.8222 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.2881, allocations: 191.5 kB / 0.8223 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.83e-05/0.2882, allocations: 20 kB / 0.8224 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.2886, allocations: 51.95 kB / 0.8224 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.2887, allocations: 44.92 kB / 0.8225 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.2887, allocations: 31.88 kB / 0.8225 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007561/0.2895, allocations: 0.628 MB / 0.8231 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2895, allocations: 0 / 0.8231 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009644/0.2905, allocations: 414.2 kB / 0.8235 GB, free: 3.418 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.000201/0.2907, allocations: 127.1 kB / 0.8236 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002381/0.2931, allocations: 1.358 MB / 0.8249 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2931, allocations: 0 / 0.8249 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.2938, allocations: 369.6 kB / 0.8253 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.2948, allocations: 261.9 kB / 0.8255 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.2978, allocations: 1.922 MB / 0.8274 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.2984, allocations: 1.097 MB / 0.8285 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004837/0.2989, allocations: 136.3 kB / 0.8286 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.2991, allocations: 75.42 kB / 0.8287 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of SimCode: time 7.22e-07/0.2991, allocations: 3.938 kB / 0.8287 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.02106/0.3202, allocations: 12.27 MB / 0.8407 GB, free: 1.875 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)