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.764/1.764, allocations: 288.3 MB / 303.2 MB, free: 8.203 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.001411/0.001411, allocations: 185 kB / 371.8 MB, free: 10.29 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.89/1.89, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.000879/0.000879, allocations: 95.67 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004411, allocations: 15.41 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.296, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.36, allocations: 146.2 MB / 1.122 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/1.36, allocations: 80.92 kB / 1.122 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0429/1.403, allocations: 16.95 MB / 1.139 GB, free: 27.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.385e-06/1.403, allocations: 0 / 1.139 GB, free: 27.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.967e-05/1.403, allocations: 23.09 kB / 1.139 GB, free: 27.42 MB / 0.698 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.002234/1.406, allocations: 1.069 MB / 1.14 GB, free: 26.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/1.406, allocations: 11.83 kB / 1.14 GB, free: 26.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/1.406, allocations: 101.2 kB / 1.14 GB, free: 26.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/1.407, allocations: 0.5864 MB / 1.141 GB, free: 26.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/1.407, allocations: 100.8 kB / 1.141 GB, free: 26.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-05/1.407, allocations: 56.59 kB / 1.141 GB, free: 26.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/1.408, allocations: 0.6505 MB / 1.141 GB, free: 25.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/1.408, allocations: 11.92 kB / 1.141 GB, free: 25.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/1.408, allocations: 21.56 kB / 1.141 GB, free: 25.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/1.408, allocations: 11.66 kB / 1.141 GB, free: 25.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009833/1.409, allocations: 0.494 MB / 1.142 GB, free: 25.74 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/1.412, allocations: 2.208 MB / 1.144 GB, free: 24.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/1.414, allocations: 0.602 MB / 1.145 GB, free: 24.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-05/1.414, allocations: 3.688 kB / 1.145 GB, free: 24.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007107/1.414, allocations: 323.6 kB / 1.145 GB, free: 24.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 3.456e-06/1.414, allocations: 0 / 1.145 GB, free: 24.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.00145/1.416, allocations: 0.7119 MB / 1.146 GB, free: 23.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.416, allocations: 196.4 kB / 1.146 GB, free: 23.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005989/1.417, allocations: 0.5452 MB / 1.146 GB, free: 23.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/1.417, allocations: 36.73 kB / 1.146 GB, free: 23.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/1.417, allocations: 351 kB / 1.147 GB, free: 23.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/1.417, allocations: 167.7 kB / 1.147 GB, free: 23.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/1.417, allocations: 7.125 kB / 1.147 GB, free: 23.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.417, allocations: 335.5 kB / 1.147 GB, free: 22.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/1.418, allocations: 204.7 kB / 1.147 GB, free: 22.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/1.418, allocations: 351.4 kB / 1.148 GB, free: 22.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/1.419, allocations: 265.4 kB / 1.148 GB, free: 22.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.419, allocations: 0 / 1.148 GB, free: 22.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001087/1.42, allocations: 0.6554 MB / 1.149 GB, free: 22.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004508/1.42, allocations: 0.9994 MB / 1.15 GB, free: 21.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.42, allocations: 0 / 1.15 GB, free: 21.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.42, allocations: 7.844 kB / 1.15 GB, free: 21.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/1.421, allocations: 116.6 kB / 1.15 GB, free: 21.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/1.421, allocations: 11.78 kB / 1.15 GB, free: 21.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/1.421, allocations: 85.48 kB / 1.15 GB, free: 21.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/1.421, allocations: 21.78 kB / 1.15 GB, free: 21.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/1.421, allocations: 3.938 kB / 1.15 GB, free: 21.31 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000919/1.422, allocations: 0.5486 MB / 1.15 GB, free: 21.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/1.422, allocations: 4 kB / 1.15 GB, free: 21.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/1.422, allocations: 11.69 kB / 1.15 GB, free: 21.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/1.423, allocations: 116.1 kB / 1.15 GB, free: 21.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/1.423, allocations: 15.61 kB / 1.15 GB, free: 21.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/1.423, allocations: 74 kB / 1.151 GB, free: 21.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/1.423, allocations: 19.14 kB / 1.151 GB, free: 21.12 MB / 0.698 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.0003567/1.423, allocations: 281.8 kB / 1.151 GB, free: 20.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/1.424, allocations: 69.94 kB / 1.151 GB, free: 20.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/1.424, allocations: 78.44 kB / 1.151 GB, free: 20.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.424, allocations: 3.875 kB / 1.151 GB, free: 20.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/1.424, allocations: 7.938 kB / 1.151 GB, free: 20.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/1.424, allocations: 0 / 1.151 GB, free: 20.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006917/1.424, allocations: 0.647 MB / 1.152 GB, free: 20.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.425, allocations: 0 / 1.152 GB, free: 20.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/1.425, allocations: 100.3 kB / 1.152 GB, free: 20.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/1.425, allocations: 3.906 kB / 1.152 GB, free: 20.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/1.425, allocations: 10.98 kB / 1.152 GB, free: 20.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.425, allocations: 3.844 kB / 1.152 GB, free: 20.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.425, allocations: 3.938 kB / 1.152 GB, free: 20.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/1.426, allocations: 0.8299 MB / 1.153 GB, free: 20.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/1.427, allocations: 208 kB / 1.153 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/1.427, allocations: 7.594 kB / 1.153 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/1.427, allocations: 64.77 kB / 1.153 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.427, allocations: 33.88 kB / 1.153 GB, free: 20.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/1.427, allocations: 14.56 kB / 1.153 GB, free: 20.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004521/1.428, allocations: 437.8 kB / 1.153 GB, free: 19.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.428, allocations: 0 / 1.153 GB, free: 19.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006127/1.428, allocations: 241.4 kB / 1.153 GB, free: 19.88 MB / 0.698 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.0002124/1.429, allocations: 121.5 kB / 1.154 GB, free: 19.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001511/1.43, allocations: 0.8842 MB / 1.154 GB, free: 19.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.43, allocations: 0 / 1.154 GB, free: 19.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004299/1.431, allocations: 253.9 kB / 1.155 GB, free: 19.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008598/1.432, allocations: 183.8 kB / 1.155 GB, free: 19.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/1.434, allocations: 1.394 MB / 1.156 GB, free: 18.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/1.434, allocations: 0.939 MB / 1.157 GB, free: 17.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004228/1.435, allocations: 93.02 kB / 1.157 GB, free: 17.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/1.435, allocations: 47.42 kB / 1.157 GB, free: 17.57 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/1.435, allocations: 0 / 1.157 GB, free: 17.57 MB / 0.698 GB Notification: Performance of Templates: time 0.01304/1.448, allocations: 7.749 MB / 1.165 GB, free: 9.941 MB / 0.698 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)