Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.692/1.692, allocations: 288.4 MB / 303.4 MB, free: 8.184 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.001057/0.001057, allocations: 172.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0008734/0.0008736, allocations: 93.36 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004793, allocations: 15.14 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.27, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.0033/0.2734, allocations: 3.135 MB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.2756, allocations: 1.314 MB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000354/0.276, allocations: 27.88 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.2763, allocations: 91.09 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004241/0.2767, allocations: 135 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.2777, allocations: 463.5 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005878/0.2783, allocations: 0.8199 MB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/0.2787, allocations: 254.9 kB / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.2789, allocations: 270.5 kB / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.2792, allocations: 266.3 kB / 0.9862 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.795e-05/0.2793, allocations: 20 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.043e-05/0.2793, allocations: 20 kB / 0.9862 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.2794, allocations: 107.4 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.2795, allocations: 145.3 kB / 0.9864 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004103/0.28, allocations: 0.6236 MB / 0.987 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.28, allocations: 0 / 0.987 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.28, allocations: 0 / 0.987 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.28, allocations: 0 / 0.987 GB, free: 19.96 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001772/0.2818, allocations: 1.067 MB / 0.9881 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2818, allocations: 16.02 kB / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.282, allocations: 94.88 kB / 0.9882 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000769/0.2828, allocations: 0.5784 MB / 0.9888 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.741e-05/0.2829, allocations: 92.41 kB / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.2829, allocations: 59.98 kB / 0.9889 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/0.2839, allocations: 0.6079 MB / 0.9895 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.2839, allocations: 7.984 kB / 0.9895 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.284, allocations: 23.94 kB / 0.9895 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.284, allocations: 12 kB / 0.9895 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009367/0.2849, allocations: 443.6 kB / 0.99 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.2873, allocations: 2.129 MB / 0.992 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.2884, allocations: 0.5069 MB / 0.9925 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.2889, allocations: 232.7 kB / 0.9928 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.2889, allocations: 7.984 kB / 0.9928 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006683/0.2896, allocations: 297.9 kB / 0.9931 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 3.657e-06/0.2896, allocations: 0 / 0.9931 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001328/0.2909, allocations: 0.6423 MB / 0.9937 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.291, allocations: 92.84 kB / 0.9938 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.2915, allocations: 0.6061 MB / 0.9944 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.2916, allocations: 37.7 kB / 0.9944 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.2918, allocations: 360.7 kB / 0.9947 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.2919, allocations: 157.8 kB / 0.9949 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.2919, allocations: 8 kB / 0.9949 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.292, allocations: 333.9 kB / 0.9952 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.2924, allocations: 177 kB / 0.9954 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.2928, allocations: 292.2 kB / 0.9957 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.2933, allocations: 238.5 kB / 0.9959 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2933, allocations: 1.094 kB / 0.9959 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001043/0.2943, allocations: 0.6141 MB / 0.9965 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.999e-05/0.2944, allocations: 185 kB / 0.9967 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.2944, allocations: 8 kB / 0.9967 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2945, allocations: 7.984 kB / 0.9967 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.2949, allocations: 115.8 kB / 0.9968 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.2949, allocations: 4 kB / 0.9968 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.2953, allocations: 75.38 kB / 0.9969 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.2954, allocations: 19.98 kB / 0.9969 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.573e-06/0.2954, allocations: 7.938 kB / 0.9969 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008695/0.2963, allocations: 0.4959 MB / 0.9974 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2963, allocations: 7.984 kB / 0.9974 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-06/0.2963, allocations: 7.938 kB / 0.9974 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.2967, allocations: 104.2 kB / 0.9975 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2967, allocations: 11.94 kB / 0.9975 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.297, allocations: 59.5 kB / 0.9976 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.2971, allocations: 20 kB / 0.9976 GB, free: 8.746 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.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 (63): * Single equations (assignments): 62 * 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.000241/0.2973, allocations: 271.6 kB / 0.9978 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.2974, allocations: 75.11 kB / 0.9979 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.2975, allocations: 87.33 kB / 0.998 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2975, allocations: 4 kB / 0.998 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2975, allocations: 0 / 0.998 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2976, allocations: 3.938 kB / 0.998 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/0.2981, allocations: 0.6257 MB / 0.9986 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2981, allocations: 0 / 0.9986 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.2985, allocations: 91.84 kB / 0.9987 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2986, allocations: 7.938 kB / 0.9987 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.2986, allocations: 11.98 kB / 0.9987 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2986, allocations: 0 / 0.9987 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2986, allocations: 4 kB / 0.9987 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.2999, allocations: 0.7394 MB / 0.9994 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.3001, allocations: 192.1 kB / 0.9996 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.536e-05/0.3002, allocations: 15.95 kB / 0.9996 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.3006, allocations: 39.95 kB / 0.9997 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.3007, allocations: 35.95 kB / 0.9997 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.3008, allocations: 20.11 kB / 0.9997 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004143/0.3012, allocations: 427 kB / 1 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3012, allocations: 3.938 kB / 1 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005179/0.3017, allocations: 215.3 kB / 1 GB, free: 5.809 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001437/0.3019, allocations: 119.1 kB / 1 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.3032, allocations: 0.8051 MB / 1.001 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3033, allocations: 0.75 kB / 1.001 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004124/0.3037, allocations: 231.2 kB / 1.001 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/0.3046, allocations: 183.8 kB / 1.002 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3064, allocations: 1.388 MB / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.3067, allocations: 0.9183 MB / 1.004 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003714/0.307, allocations: 93.19 kB / 1.004 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.3072, allocations: 51.44 kB / 1.004 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of SimCode: time 8.71e-07/0.3072, allocations: 4 kB / 1.004 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of Templates: time 0.01279/0.32, allocations: 6.892 MB / 1.011 GB, free: 11.13 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)