Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.544/2.544, allocations: 287.5 MB / 303.2 MB, free: 8.285 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.001388/0.001388, allocations: 187 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0008664/0.000866, allocations: 92.98 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004983, allocations: 22.77 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9659/1.189, allocations: 146 MB / 1.122 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/1.189, allocations: 85.06 kB / 1.122 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07276/1.262, allocations: 17.01 MB / 1.139 GB, free: 27.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.006e-06/1.262, allocations: 0 / 1.139 GB, free: 27.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.236e-05/1.262, allocations: 19.38 kB / 1.139 GB, free: 27.56 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.00301/1.265, allocations: 1.066 MB / 1.14 GB, free: 26.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.265, allocations: 7.688 kB / 1.14 GB, free: 26.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003684/1.266, allocations: 105.1 kB / 1.14 GB, free: 26.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/1.267, allocations: 0.6097 MB / 1.14 GB, free: 26.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/1.268, allocations: 100 kB / 1.14 GB, free: 26.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.268, allocations: 58.92 kB / 1.14 GB, free: 26.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/1.27, allocations: 0.6584 MB / 1.141 GB, free: 25.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/1.27, allocations: 0 / 1.141 GB, free: 25.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/1.27, allocations: 21.69 kB / 1.141 GB, free: 25.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/1.27, allocations: 11.5 kB / 1.141 GB, free: 25.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/1.272, allocations: 0.4915 MB / 1.142 GB, free: 25.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004888/1.276, allocations: 2.217 MB / 1.144 GB, free: 24.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/1.279, allocations: 0.5924 MB / 1.144 GB, free: 24.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000788/1.28, allocations: 239.9 kB / 1.145 GB, free: 24.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.269e-05/1.28, allocations: 3.844 kB / 1.145 GB, free: 24.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/1.281, allocations: 327.1 kB / 1.145 GB, free: 24.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 4.508e-06/1.281, allocations: 0 / 1.145 GB, free: 24.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.002617/1.283, allocations: 0.7147 MB / 1.146 GB, free: 24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.284, allocations: 188.6 kB / 1.146 GB, free: 23.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/1.285, allocations: 0.6244 MB / 1.146 GB, free: 23.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/1.285, allocations: 36.3 kB / 1.146 GB, free: 23.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/1.285, allocations: 351.3 kB / 1.147 GB, free: 23.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/1.285, allocations: 164.8 kB / 1.147 GB, free: 23.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/1.285, allocations: 10.88 kB / 1.147 GB, free: 23.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.286, allocations: 324.5 kB / 1.147 GB, free: 22.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008324/1.286, allocations: 205.6 kB / 1.147 GB, free: 22.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008819/1.287, allocations: 359.2 kB / 1.148 GB, free: 22.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/1.289, allocations: 0.5234 MB / 1.148 GB, free: 22.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.289, allocations: 0 / 1.148 GB, free: 22.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002134/1.291, allocations: 0.6667 MB / 1.149 GB, free: 22.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/1.291, allocations: 186.8 kB / 1.149 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.291, allocations: 4 kB / 1.149 GB, free: 22.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.291, allocations: 7.094 kB / 1.149 GB, free: 22.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009145/1.292, allocations: 121.8 kB / 1.149 GB, free: 22.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/1.292, allocations: 7.688 kB / 1.149 GB, free: 22.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009635/1.293, allocations: 84.59 kB / 1.149 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/1.293, allocations: 22.52 kB / 1.149 GB, free: 22.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/1.293, allocations: 0 / 1.149 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00173/1.295, allocations: 0.5529 MB / 1.15 GB, free: 21.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.295, allocations: 3.719 kB / 1.15 GB, free: 21.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/1.295, allocations: 3.719 kB / 1.15 GB, free: 21.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008606/1.296, allocations: 114.9 kB / 1.15 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.296, allocations: 11.89 kB / 1.15 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000939/1.297, allocations: 78.97 kB / 1.15 GB, free: 21.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/1.297, allocations: 18.7 kB / 1.15 GB, free: 21.89 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.0006391/1.298, allocations: 284.8 kB / 1.15 GB, free: 21.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/1.298, allocations: 81.66 kB / 1.15 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/1.298, allocations: 77.28 kB / 1.151 GB, free: 21.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/1.298, allocations: 7.828 kB / 1.151 GB, free: 21.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.298, allocations: 0 / 1.151 GB, free: 21.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.298, allocations: 0 / 1.151 GB, free: 21.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/1.299, allocations: 0.6569 MB / 1.151 GB, free: 21.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.299, allocations: 0 / 1.151 GB, free: 21.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009336/1.3, allocations: 104.2 kB / 1.151 GB, free: 21.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/1.3, allocations: 0 / 1.151 GB, free: 21.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/1.3, allocations: 13.11 kB / 1.151 GB, free: 21.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/1.3, allocations: 0 / 1.151 GB, free: 21.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.3, allocations: 7.75 kB / 1.151 GB, free: 21.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/1.303, allocations: 0.8326 MB / 1.152 GB, free: 21.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/1.304, allocations: 209.6 kB / 1.152 GB, free: 20.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.304, allocations: 11.03 kB / 1.152 GB, free: 20.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009745/1.305, allocations: 66.2 kB / 1.152 GB, free: 20.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.305, allocations: 35.28 kB / 1.152 GB, free: 20.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/1.305, allocations: 19.36 kB / 1.152 GB, free: 20.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008481/1.306, allocations: 431.9 kB / 1.153 GB, free: 20.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.306, allocations: 0 / 1.153 GB, free: 20.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001224/1.307, allocations: 236.6 kB / 1.153 GB, free: 20.62 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.0002899/1.308, allocations: 121.4 kB / 1.153 GB, free: 20.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00298/1.311, allocations: 0.8838 MB / 1.154 GB, free: 20.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.311, allocations: 3.75 kB / 1.154 GB, free: 20.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008775/1.312, allocations: 253.7 kB / 1.154 GB, free: 20.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/1.313, allocations: 181.4 kB / 1.154 GB, free: 20.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/1.317, allocations: 1.406 MB / 1.156 GB, free: 19.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/1.318, allocations: 0.9248 MB / 1.157 GB, free: 18.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009365/1.319, allocations: 94.52 kB / 1.157 GB, free: 18.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/1.319, allocations: 45.78 kB / 1.157 GB, free: 18.47 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/1.319, allocations: 0 / 1.157 GB, free: 18.47 MB / 0.698 GB Notification: Performance of Templates: time 0.02335/1.342, allocations: 7.781 MB / 1.164 GB, free: 11.12 MB / 0.698 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)