Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.618/1.618, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001067/0.001067, allocations: 176.8 kB / 366.7 MB, free: 1.633 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.699/1.699, allocations: 205.2 MB / 0.626 GB, free: 7.137 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009134/0.0009134, allocations: 83.8 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.273e-05/1.254e-05, allocations: 0 / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6311/0.6312, allocations: 116.3 MB / 0.9732 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2092/0.8405, allocations: 146.4 MB / 1.116 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.8407, allocations: 80.44 kB / 1.116 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04519/0.8859, allocations: 16.82 MB / 1.133 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.272e-06/0.886, allocations: 0 / 1.133 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.176e-05/0.8861, allocations: 27.94 kB / 1.133 GB, free: 2.941 MB / 0.7292 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.001778/0.8879, allocations: 0.9353 MB / 1.134 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.8879, allocations: 9.531 kB / 1.134 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.8883, allocations: 98.83 kB / 1.134 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.8898, allocations: 0.5901 MB / 1.134 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.8899, allocations: 76.72 kB / 1.134 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.8901, allocations: 35.98 kB / 1.134 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007418/0.8908, allocations: 340.1 kB / 1.135 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008613/0.8917, allocations: 0.5063 MB / 1.135 GB, free: 216 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.8917, allocations: 7.938 kB / 1.135 GB, free: 208 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/0.8918, allocations: 3.984 kB / 1.135 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.8918, allocations: 15.95 kB / 1.135 GB, free: 188 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.8948, allocations: 2.102 MB / 1.137 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008004/0.8956, allocations: 436.7 kB / 1.138 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.8959, allocations: 160.8 kB / 1.138 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.896, allocations: 4 kB / 1.138 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.8964, allocations: 240.3 kB / 1.138 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 1.673e-06/0.8964, allocations: 0 / 1.138 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0006658/0.8971, allocations: 389.3 kB / 1.138 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/0.8972, allocations: 183.9 kB / 1.139 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.8977, allocations: 475.8 kB / 1.139 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.8978, allocations: 25.7 kB / 1.139 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.8981, allocations: 376.6 kB / 1.14 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.8982, allocations: 149.8 kB / 1.14 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.8983, allocations: 0 / 1.14 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.8984, allocations: 382.8 kB / 1.14 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.8986, allocations: 137.1 kB / 1.14 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.899, allocations: 263.4 kB / 1.14 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.8992, allocations: 168.7 kB / 1.141 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8993, allocations: 4 kB / 1.141 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007507/0.9, allocations: 479 kB / 1.141 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003839/0.9004, allocations: 0.9919 MB / 1.142 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.9004, allocations: 0 / 1.142 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.9005, allocations: 12 kB / 1.142 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.901, allocations: 119.8 kB / 1.142 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.901, allocations: 7.125 kB / 1.142 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.9015, allocations: 76.58 kB / 1.142 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.9015, allocations: 22.34 kB / 1.142 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.9015, allocations: 4 kB / 1.142 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006381/0.9022, allocations: 378.5 kB / 1.143 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.9022, allocations: 4.062 kB / 1.143 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.9022, allocations: 8 kB / 1.143 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.9027, allocations: 111.8 kB / 1.143 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.9027, allocations: 11.98 kB / 1.143 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.9031, allocations: 63.55 kB / 1.143 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.9032, allocations: 20 kB / 1.143 GB, free: 8.172 MB / 0.7448 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 () * 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.0001381/0.9033, allocations: 120.8 kB / 1.143 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.9035, allocations: 71.16 kB / 1.143 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.9036, allocations: 70.92 kB / 1.143 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.9036, allocations: 4 kB / 1.143 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.9036, allocations: 4 kB / 1.143 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9036, allocations: 4 kB / 1.143 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006353/0.9043, allocations: 0.5794 MB / 1.144 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.9043, allocations: 0 / 1.144 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.9048, allocations: 95.88 kB / 1.144 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.9048, allocations: 4 kB / 1.144 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.9048, allocations: 0 / 1.144 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.9049, allocations: 8 kB / 1.144 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9049, allocations: 0 / 1.144 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.9059, allocations: 0.6264 MB / 1.144 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.9062, allocations: 200.1 kB / 1.145 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.943e-05/0.9063, allocations: 6.062 kB / 1.145 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005043/0.9068, allocations: 60.78 kB / 1.145 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.9069, allocations: 31.7 kB / 1.145 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.9069, allocations: 19.98 kB / 1.145 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004389/0.9074, allocations: 363.2 kB / 1.145 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9074, allocations: 0 / 1.145 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000668/0.908, allocations: 215.1 kB / 1.145 GB, free: 5.633 MB / 0.7448 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) * 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.0001892/0.9083, allocations: 112.8 kB / 1.145 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009773/0.9092, allocations: 0.7079 MB / 1.146 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9093, allocations: 1.25 kB / 1.146 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.9095, allocations: 175.9 kB / 1.146 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008499/0.9104, allocations: 167.8 kB / 1.146 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.9122, allocations: 0.8691 MB / 1.147 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.9128, allocations: 0.9345 MB / 1.148 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006504/0.9135, allocations: 131.6 kB / 1.148 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.9136, allocations: 40.83 kB / 1.148 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/0.9136, allocations: 0 / 1.148 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of Templates: time 0.01567/0.9293, allocations: 8.176 MB / 1.156 GB, free: 10.42 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)