Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.805/2.805, allocations: 285 MB / 292.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 172.9 kB / 360.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.00109, allocations: 96.92 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.573e-05, allocations: 4 kB / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.857/0.857, allocations: 115.2 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2579/1.115, allocations: 145.2 MB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.115, allocations: 78.25 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07855/1.194, allocations: 16.82 MB / 1.122 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.824e-06/1.194, allocations: 4 kB / 1.122 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.762e-05/1.194, allocations: 12 kB / 1.122 GB, free: 10.42 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.002467/1.197, allocations: 0.9431 MB / 1.123 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.197, allocations: 8.031 kB / 1.123 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/1.197, allocations: 106.8 kB / 1.123 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/1.199, allocations: 0.5862 MB / 1.123 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/1.199, allocations: 80.7 kB / 1.123 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/1.199, allocations: 32 kB / 1.123 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001073/1.2, allocations: 338.6 kB / 1.124 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/1.201, allocations: 0.5102 MB / 1.124 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/1.201, allocations: 4 kB / 1.124 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/1.201, allocations: 3.953 kB / 1.124 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/1.201, allocations: 18.38 kB / 1.124 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004494/1.206, allocations: 2.098 MB / 1.126 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/1.207, allocations: 437.7 kB / 1.127 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/1.208, allocations: 156.8 kB / 1.127 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.764e-05/1.208, allocations: 12 kB / 1.127 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006789/1.208, allocations: 242.2 kB / 1.127 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 3.627e-06/1.208, allocations: 0 / 1.127 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001231/1.21, allocations: 385.4 kB / 1.128 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/1.21, allocations: 187.9 kB / 1.128 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/1.211, allocations: 471.8 kB / 1.128 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/1.211, allocations: 25.7 kB / 1.128 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/1.212, allocations: 376.6 kB / 1.129 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/1.212, allocations: 153.7 kB / 1.129 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/1.212, allocations: 4 kB / 1.129 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002159/1.212, allocations: 370.8 kB / 1.129 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/1.212, allocations: 141.1 kB / 1.129 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/1.213, allocations: 271.3 kB / 1.129 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/1.214, allocations: 172.7 kB / 1.13 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.214, allocations: 0 / 1.13 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001426/1.215, allocations: 479.1 kB / 1.13 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005067/1.216, allocations: 0.9888 MB / 1.131 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.216, allocations: 4 kB / 1.131 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/1.216, allocations: 4 kB / 1.131 GB, free: 452 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.217, allocations: 131.8 kB / 1.131 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.217, allocations: 4 kB / 1.131 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009634/1.218, allocations: 72.64 kB / 1.131 GB, free: 244 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/1.218, allocations: 16 kB / 1.131 GB, free: 228 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.218, allocations: 5.688 kB / 1.131 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001133/1.219, allocations: 378.2 kB / 1.132 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.219, allocations: 4 kB / 1.132 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.219, allocations: 4.312 kB / 1.132 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/1.22, allocations: 119.8 kB / 1.132 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.22, allocations: 7.953 kB / 1.132 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00092/1.221, allocations: 63.59 kB / 1.132 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/1.221, allocations: 23.98 kB / 1.132 GB, free: 15.63 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.0002625/1.221, allocations: 126 kB / 1.132 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/1.221, allocations: 68.91 kB / 1.132 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/1.222, allocations: 70.94 kB / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/1.222, allocations: 4 kB / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.222, allocations: 0 / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/1.222, allocations: 7.938 kB / 1.132 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.223, allocations: 0.5756 MB / 1.133 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/1.223, allocations: 4 kB / 1.133 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009802/1.224, allocations: 91.89 kB / 1.133 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/1.224, allocations: 4 kB / 1.133 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/1.224, allocations: 5.391 kB / 1.133 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/1.224, allocations: 4 kB / 1.133 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/1.224, allocations: 0 / 1.133 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/1.226, allocations: 0.6302 MB / 1.133 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004723/1.226, allocations: 198.7 kB / 1.134 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/1.226, allocations: 4 kB / 1.134 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009761/1.227, allocations: 55.94 kB / 1.134 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.228, allocations: 35.7 kB / 1.134 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.385e-05/1.228, allocations: 15.98 kB / 1.134 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007543/1.228, allocations: 367.2 kB / 1.134 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.51e-07/1.228, allocations: 0 / 1.134 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001139/1.23, allocations: 215.1 kB / 1.134 GB, free: 13.1 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.0002506/1.23, allocations: 107.2 kB / 1.134 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001823/1.232, allocations: 0.7075 MB / 1.135 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.232, allocations: 4 kB / 1.135 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004836/1.232, allocations: 179.9 kB / 1.135 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/1.234, allocations: 171.9 kB / 1.135 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/1.237, allocations: 0.8728 MB / 1.136 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/1.237, allocations: 0.9384 MB / 1.137 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001137/1.238, allocations: 127 kB / 1.137 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/1.239, allocations: 35.44 kB / 1.137 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of SimCode: time 1.202e-06/1.239, allocations: 0 / 1.137 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of Templates: time 0.02656/1.265, allocations: 8.166 MB / 1.145 GB, free: 1.898 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)