Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.216/2.216, allocations: 252.6 MB / 265.2 MB, free: 5.754 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 185.6 kB / 324.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.4 MB / 0.5754 GB, free: 10.46 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 86.7 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.625e-05, allocations: 0 / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1953, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8703/1.066, allocations: 139.6 MB / 1.031 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/1.066, allocations: 78.52 kB / 1.031 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08631/1.152, allocations: 16.94 MB / 1.048 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.575e-06/1.152, allocations: 0 / 1.048 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001392/1.153, allocations: 23.94 kB / 1.048 GB, free: 12.72 MB / 0.6667 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.004047/1.157, allocations: 0.9362 MB / 1.049 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.326e-05/1.157, allocations: 12.03 kB / 1.049 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005966/1.157, allocations: 94.81 kB / 1.049 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/1.16, allocations: 0.5894 MB / 1.049 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/1.16, allocations: 98.14 kB / 1.05 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/1.161, allocations: 57.25 kB / 1.05 GB, free: 11 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/1.163, allocations: 0.5793 MB / 1.05 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.445e-05/1.163, allocations: 4 kB / 1.05 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/1.163, allocations: 22.39 kB / 1.05 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/1.163, allocations: 12 kB / 1.05 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.165, allocations: 374.2 kB / 1.051 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007966/1.173, allocations: 2.22 MB / 1.053 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/1.175, allocations: 447.4 kB / 1.053 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007435/1.176, allocations: 168.8 kB / 1.053 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/1.176, allocations: 11.98 kB / 1.053 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/1.177, allocations: 249.2 kB / 1.054 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=45): time 5.69e-06/1.177, allocations: 0 / 1.054 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.002033/1.179, allocations: 417.9 kB / 1.054 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/1.18, allocations: 191.5 kB / 1.054 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/1.182, allocations: 0.538 MB / 1.055 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002891/1.182, allocations: 36.83 kB / 1.055 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006255/1.183, allocations: 360.3 kB / 1.055 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/1.183, allocations: 155.4 kB / 1.055 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/1.183, allocations: 9.938 kB / 1.055 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002098/1.183, allocations: 332.6 kB / 1.055 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/1.184, allocations: 146.2 kB / 1.056 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009649/1.185, allocations: 282.1 kB / 1.056 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007976/1.186, allocations: 206.1 kB / 1.056 GB, free: 5.656 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/1.186, allocations: 4 kB / 1.056 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002227/1.188, allocations: 0.543 MB / 1.057 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000601/1.189, allocations: 0.9925 MB / 1.058 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/1.189, allocations: 4 kB / 1.058 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.649e-05/1.189, allocations: 4 kB / 1.058 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/1.191, allocations: 127.3 kB / 1.058 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.59e-05/1.191, allocations: 8 kB / 1.058 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/1.192, allocations: 79.11 kB / 1.058 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-05/1.192, allocations: 19.88 kB / 1.058 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.192, allocations: 8 kB / 1.058 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001975/1.194, allocations: 468.2 kB / 1.058 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.194, allocations: 4 kB / 1.058 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.194, allocations: 4 kB / 1.058 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/1.196, allocations: 119.3 kB / 1.058 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/1.196, allocations: 4 kB / 1.058 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/1.197, allocations: 77.67 kB / 1.058 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.73e-05/1.198, allocations: 18.06 kB / 1.059 GB, free: 3.426 MB / 0.6667 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.0003785/1.198, allocations: 145 kB / 1.059 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/1.198, allocations: 75.06 kB / 1.059 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/1.199, allocations: 83.25 kB / 1.059 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/1.199, allocations: 7.938 kB / 1.059 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.199, allocations: 4 kB / 1.059 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.199, allocations: 0 / 1.059 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/1.2, allocations: 0.6567 MB / 1.059 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.2, allocations: 0 / 1.059 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/1.202, allocations: 95.02 kB / 1.06 GB, free: 2.527 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/1.202, allocations: 0 / 1.06 GB, free: 2.527 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.41e-05/1.202, allocations: 14.86 kB / 1.06 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-05/1.202, allocations: 7.953 kB / 1.06 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.202, allocations: 0 / 1.06 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/1.205, allocations: 0.6585 MB / 1.06 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/1.206, allocations: 206.1 kB / 1.06 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/1.206, allocations: 11.12 kB / 1.06 GB, free: 1.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.208, allocations: 62.77 kB / 1.06 GB, free: 1.801 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/1.208, allocations: 35.39 kB / 1.061 GB, free: 1.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.331e-05/1.208, allocations: 15.44 kB / 1.061 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00134/1.209, allocations: 430.2 kB / 1.061 GB, free: 1.445 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.273e-06/1.209, allocations: 0 / 1.061 GB, free: 1.445 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00174/1.211, allocations: 239 kB / 1.061 GB, free: 1.234 MB / 0.6667 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.0003671/1.211, allocations: 113.5 kB / 1.061 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003102/1.215, allocations: 0.7485 MB / 1.062 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/1.215, allocations: 3.938 kB / 1.062 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008709/1.216, allocations: 194.7 kB / 1.062 GB, free: 428 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/1.218, allocations: 177.7 kB / 1.062 GB, free: 296 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/1.223, allocations: 0.8949 MB / 1.063 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000983/1.224, allocations: 0.9389 MB / 1.064 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001795/1.226, allocations: 131.6 kB / 1.064 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/1.226, allocations: 35.44 kB / 1.064 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/1.226, allocations: 0 / 1.064 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.03039/1.256, allocations: 9.034 MB / 1.073 GB, free: 5.395 MB / 0.6823 GB