Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.745/2.745, allocations: 287.5 MB / 302.4 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002029/0.002029, allocations: 186.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009368/0.0009366, allocations: 86.3 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004962, allocations: 12.36 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2116, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.006456/0.2181, allocations: 4.694 MB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004372/0.2225, allocations: 1.679 MB / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.2237, allocations: 31.88 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006811/0.2244, allocations: 194.2 kB / 0.9848 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00089/0.2253, allocations: 130.8 kB / 0.9849 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.2269, allocations: 434.2 kB / 0.9853 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.2287, allocations: 1.409 MB / 0.9867 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009992/0.2298, allocations: 0.5421 MB / 0.9873 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004684/0.2303, allocations: 357.9 kB / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004688/0.2307, allocations: 433.1 kB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.2309, allocations: 40 kB / 0.988 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.2311, allocations: 48 kB / 0.9881 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.2313, allocations: 179 kB / 0.9883 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.2315, allocations: 224.9 kB / 0.9885 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.233, allocations: 1.48 MB / 0.9899 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.233, allocations: 0 / 0.9899 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.534e-06/0.2331, allocations: 0 / 0.9899 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.047e-05/0.2331, allocations: 0 / 0.9899 GB, free: 16.44 MB / 0.6198 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.003849/0.2369, allocations: 1.574 MB / 0.9915 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.237, allocations: 15.97 kB / 0.9915 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/0.2374, allocations: 162 kB / 0.9916 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.2388, allocations: 0.7736 MB / 0.9924 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-05/0.239, allocations: 90.16 kB / 0.9925 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.2392, allocations: 116 kB / 0.9926 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.2418, allocations: 1.1 MB / 0.9937 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.2419, allocations: 4 kB / 0.9937 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.242, allocations: 51.98 kB / 0.9937 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.2421, allocations: 24 kB / 0.9937 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.2446, allocations: 0.8473 MB / 0.9946 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007295/0.252, allocations: 3.967 MB / 0.9984 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.2553, allocations: 1.036 MB / 0.9994 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.2566, allocations: 474.4 kB / 0.9999 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.291e-05/0.2567, allocations: 12.64 kB / 0.9999 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/0.2579, allocations: 444.8 kB / 1 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 3.757e-06/0.2579, allocations: 0 / 1 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.003394/0.2613, allocations: 1.105 MB / 1.001 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.2615, allocations: 218.6 kB / 1.002 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.2629, allocations: 0.9154 MB / 1.003 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.2631, allocations: 49.7 kB / 1.003 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.2636, allocations: 0.578 MB / 1.003 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.2639, allocations: 291.7 kB / 1.003 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.264, allocations: 16 kB / 1.003 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.393e-05/0.2641, allocations: 341.9 kB / 1.004 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.2652, allocations: 361.8 kB / 1.004 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.2666, allocations: 0.5912 MB / 1.005 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.2678, allocations: 448.5 kB / 1.005 GB, free: 380 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.2679, allocations: 0 / 1.005 GB, free: 380 kB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003613/0.2715, allocations: 1.107 MB / 1.006 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002764/0.2718, allocations: 250.6 kB / 1.006 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.2718, allocations: 8 kB / 1.006 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.2719, allocations: 8 kB / 1.006 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.2734, allocations: 211.7 kB / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.492e-05/0.2734, allocations: 11.94 kB / 1.007 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.2749, allocations: 202.9 kB / 1.007 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.2751, allocations: 39.98 kB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2751, allocations: 7.953 kB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002135/0.2772, allocations: 0.8057 MB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.2773, allocations: 4 kB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2773, allocations: 8 kB / 1.008 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.2785, allocations: 176.3 kB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.2785, allocations: 8 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.2797, allocations: 159 kB / 1.008 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.2798, allocations: 36 kB / 1.008 GB, free: 13.26 MB / 0.6355 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.000753/0.2806, allocations: 348.8 kB / 1.008 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.2808, allocations: 118.5 kB / 1.008 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.2811, allocations: 119.7 kB / 1.009 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.2812, allocations: 8 kB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.2812, allocations: 0 / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.2812, allocations: 7.984 kB / 1.009 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.283, allocations: 0.9955 MB / 1.01 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.283, allocations: 0 / 1.01 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.2844, allocations: 171.8 kB / 1.01 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.2845, allocations: 0 / 1.01 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.2846, allocations: 27.95 kB / 1.01 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/0.2846, allocations: 4 kB / 1.01 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.2846, allocations: 0 / 1.01 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/0.2887, allocations: 1.265 MB / 1.011 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.2891, allocations: 203.3 kB / 1.011 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.2892, allocations: 20 kB / 1.011 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/0.29, allocations: 79.89 kB / 1.011 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.2901, allocations: 40.94 kB / 1.011 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.2902, allocations: 27.98 kB / 1.011 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001281/0.2915, allocations: 0.6163 MB / 1.012 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2915, allocations: 0 / 1.012 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001451/0.293, allocations: 406.3 kB / 1.012 GB, free: 8.723 MB / 0.6355 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.0002879/0.2933, allocations: 135.3 kB / 1.012 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004082/0.2974, allocations: 1.393 MB / 1.014 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.2974, allocations: 4 kB / 1.014 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.2987, allocations: 393.7 kB / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.3005, allocations: 246.8 kB / 1.014 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.3057, allocations: 2.341 MB / 1.017 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008989/0.3067, allocations: 1.101 MB / 1.018 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009282/0.3076, allocations: 136.3 kB / 1.018 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.308, allocations: 79.41 kB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of SimCode: time 2.895e-06/0.308, allocations: 3.938 kB / 1.018 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of Templates: time 0.03638/0.3444, allocations: 11.17 MB / 1.029 GB, free: 7.742 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)