Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5652/0.5652, allocations: 94.69 MB / 107.2 MB, free: 5.188 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001227/0.001228, allocations: 174 kB / 130.7 MB, free: 7.551 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.76/1.76, allocations: 170.5 MB / 324.5 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001893/0.001894, allocations: 106 kB / 386.6 MB, free: 16.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.776e-05/4.804e-05, allocations: 7.938 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4745, allocations: 61.51 MB / 0.5054 GB, free: 49.43 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.613, allocations: 98.31 MB / 0.6014 GB, free: 13.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.6134, allocations: 75.95 kB / 0.6015 GB, free: 13.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05788/0.6713, allocations: 19.69 MB / 0.6207 GB, free: 9.637 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6714, allocations: 0 / 0.6207 GB, free: 9.637 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.847e-05/0.6715, allocations: 12 kB / 0.6207 GB, free: 9.625 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001788/0.6733, allocations: 0.9472 MB / 0.6216 GB, free: 8.621 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.6733, allocations: 8.031 kB / 0.6216 GB, free: 8.613 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.6736, allocations: 94.92 kB / 0.6217 GB, free: 8.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.6747, allocations: 0.5813 MB / 0.6223 GB, free: 7.898 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.6748, allocations: 92.41 kB / 0.6224 GB, free: 7.797 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/0.6749, allocations: 48 kB / 0.6224 GB, free: 7.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009049/0.6758, allocations: 0.5219 MB / 0.6229 GB, free: 7.203 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.6759, allocations: 0 / 0.6229 GB, free: 7.203 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.6759, allocations: 23.38 kB / 0.6229 GB, free: 7.184 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.676, allocations: 11.95 kB / 0.623 GB, free: 7.172 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005898/0.6765, allocations: 343.9 kB / 0.6233 GB, free: 6.832 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.6793, allocations: 1.507 MB / 0.6248 GB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008749/0.6802, allocations: 449 kB / 0.6252 GB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.6805, allocations: 164.8 kB / 0.6253 GB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/0.6806, allocations: 8 kB / 0.6254 GB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004545/0.681, allocations: 239.9 kB / 0.6256 GB, free: 4.402 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.354e-06/0.681, allocations: 288 / 0.6256 GB, free: 4.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007186/0.6818, allocations: 409.8 kB / 0.626 GB, free: 3.996 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.6819, allocations: 213.6 kB / 0.6262 GB, free: 3.738 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.6825, allocations: 0.4919 MB / 0.6267 GB, free: 3.238 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.6826, allocations: 37.7 kB / 0.6267 GB, free: 3.195 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.6828, allocations: 320.4 kB / 0.627 GB, free: 2.875 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.683, allocations: 145.9 kB / 0.6271 GB, free: 2.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.683, allocations: 12 kB / 0.6271 GB, free: 2.719 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.6832, allocations: 370.8 kB / 0.6275 GB, free: 2.348 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.6835, allocations: 141 kB / 0.6276 GB, free: 2.207 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.6838, allocations: 233.2 kB / 0.6279 GB, free: 1.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.6841, allocations: 179.3 kB / 0.628 GB, free: 1.773 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6841, allocations: 2.906 kB / 0.628 GB, free: 1.773 MB / 442.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000779/0.6849, allocations: 488.9 kB / 0.6285 GB, free: 1.285 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.685, allocations: 33.77 kB / 0.6285 GB, free: 1.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.685, allocations: 4 kB / 0.6285 GB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.685, allocations: 3.953 kB / 0.6285 GB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.6855, allocations: 107.9 kB / 0.6286 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.6855, allocations: 11.88 kB / 0.6287 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.686, allocations: 79.48 kB / 0.6287 GB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.686, allocations: 16 kB / 0.6287 GB, free: 1.027 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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.0001482/0.6862, allocations: 132.7 kB / 0.6289 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.721e-05/0.6863, allocations: 71.14 kB / 0.6289 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.6864, allocations: 74.3 kB / 0.629 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.6864, allocations: 7.953 kB / 0.629 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.537e-06/0.6865, allocations: 0 / 0.629 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6865, allocations: 0 / 0.629 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006905/0.6872, allocations: 0.6258 MB / 0.6296 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6872, allocations: 0 / 0.6296 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.6877, allocations: 99.94 kB / 0.6297 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.6877, allocations: 0 / 0.6297 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.6877, allocations: 7.938 kB / 0.6297 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.6877, allocations: 0 / 0.6297 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6877, allocations: 3.953 kB / 0.6297 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.6888, allocations: 0.6384 MB / 0.6304 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.689, allocations: 192.2 kB / 0.6305 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/0.6891, allocations: 15.06 kB / 0.6306 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.6896, allocations: 67.94 kB / 0.6306 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/0.6897, allocations: 27.95 kB / 0.6306 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.6898, allocations: 23.94 kB / 0.6307 GB, free: 14.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004603/0.6902, allocations: 395.2 kB / 0.631 GB, free: 14.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6902, allocations: 1.781 kB / 0.631 GB, free: 14.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.6906, allocations: 127.6 kB / 0.6312 GB, free: 14.45 MB / 458.7 MB 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 (44): * Single equations (assignments): 42 * 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.0001888/0.6908, allocations: 116.4 kB / 0.6313 GB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006768/0.6915, allocations: 414.6 kB / 0.6317 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6915, allocations: 0 / 0.6317 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.6918, allocations: 191.9 kB / 0.6319 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/0.6925, allocations: 151.1 kB / 0.632 GB, free: 13.58 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.6943, allocations: 0.8151 MB / 0.6328 GB, free: 12.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.6948, allocations: 0.9173 MB / 0.6337 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003291/0.6952, allocations: 66.8 kB / 0.6338 GB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.6953, allocations: 41.03 kB / 0.6338 GB, free: 11.7 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6953, allocations: 4 kB / 0.6338 GB, free: 11.69 MB / 458.7 MB Notification: Performance of Templates: time 0.01375/0.7091, allocations: 6.996 MB / 0.6406 GB, free: 4.844 MB / 458.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)