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.608/2.608, allocations: 287.5 MB / 302.5 MB, free: 8.246 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.001595/0.001595, allocations: 182.9 kB / 371 MB, free: 10.79 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.308/2.308, allocations: 205.4 MB / 0.6297 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 98.16 kB / 0.743 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004717, allocations: 11.91 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2246, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9261/1.151, allocations: 146 MB / 1.121 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/1.151, allocations: 79.69 kB / 1.121 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.072/1.223, allocations: 16.95 MB / 1.138 GB, free: 27.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.296e-06/1.223, allocations: 0 / 1.138 GB, free: 27.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001029/1.223, allocations: 23.44 kB / 1.138 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.003239/1.227, allocations: 1.062 MB / 1.139 GB, free: 26.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.227, allocations: 15.73 kB / 1.139 GB, free: 26.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/1.227, allocations: 108.9 kB / 1.139 GB, free: 26.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/1.229, allocations: 0.5863 MB / 1.139 GB, free: 26.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/1.229, allocations: 101.2 kB / 1.139 GB, free: 26.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/1.229, allocations: 53.19 kB / 1.139 GB, free: 26.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/1.231, allocations: 0.6556 MB / 1.14 GB, free: 25.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/1.231, allocations: 0 / 1.14 GB, free: 25.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.362e-05/1.231, allocations: 23.72 kB / 1.14 GB, free: 25.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/1.231, allocations: 15.3 kB / 1.14 GB, free: 25.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/1.233, allocations: 0.4889 MB / 1.141 GB, free: 25.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/1.238, allocations: 2.21 MB / 1.143 GB, free: 24.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/1.24, allocations: 0.6049 MB / 1.143 GB, free: 24.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/1.24, allocations: 7.688 kB / 1.143 GB, free: 24.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/1.241, allocations: 320 kB / 1.144 GB, free: 24.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 3.617e-06/1.241, allocations: 0 / 1.144 GB, free: 24.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.002683/1.244, allocations: 0.7131 MB / 1.144 GB, free: 24.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/1.244, allocations: 187.6 kB / 1.145 GB, free: 23.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009867/1.245, allocations: 0.5508 MB / 1.145 GB, free: 23.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000159/1.245, allocations: 36.27 kB / 1.145 GB, free: 23.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/1.246, allocations: 359.1 kB / 1.145 GB, free: 23.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/1.246, allocations: 158.3 kB / 1.146 GB, free: 23.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/1.246, allocations: 12.88 kB / 1.146 GB, free: 23.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.246, allocations: 330.9 kB / 1.146 GB, free: 23.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008126/1.247, allocations: 208.7 kB / 1.146 GB, free: 22.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008874/1.248, allocations: 342.1 kB / 1.146 GB, free: 22.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/1.249, allocations: 271.2 kB / 1.147 GB, free: 22.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.249, allocations: 3.844 kB / 1.147 GB, free: 22.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002175/1.251, allocations: 0.6592 MB / 1.147 GB, free: 22.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004384/1.251, allocations: 0.99 MB / 1.148 GB, free: 21.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/1.251, allocations: 3.844 kB / 1.148 GB, free: 21.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/1.251, allocations: 3.844 kB / 1.148 GB, free: 21.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009695/1.252, allocations: 123.8 kB / 1.148 GB, free: 21.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.252, allocations: 3.812 kB / 1.148 GB, free: 21.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/1.253, allocations: 90.73 kB / 1.149 GB, free: 21.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/1.253, allocations: 14.88 kB / 1.149 GB, free: 21.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/1.253, allocations: 3.812 kB / 1.149 GB, free: 21.45 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001774/1.255, allocations: 0.5509 MB / 1.149 GB, free: 21.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/1.255, allocations: 3.781 kB / 1.149 GB, free: 21.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/1.255, allocations: 7.828 kB / 1.149 GB, free: 21.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008676/1.256, allocations: 118.9 kB / 1.149 GB, free: 21.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.256, allocations: 11.67 kB / 1.149 GB, free: 21.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009274/1.257, allocations: 78.56 kB / 1.149 GB, free: 21.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/1.257, allocations: 17.97 kB / 1.149 GB, free: 21.27 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.0005976/1.258, allocations: 271.9 kB / 1.15 GB, free: 21.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/1.258, allocations: 69.25 kB / 1.15 GB, free: 21.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/1.258, allocations: 81.8 kB / 1.15 GB, free: 21.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.258, allocations: 7.797 kB / 1.15 GB, free: 21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.258, allocations: 7.812 kB / 1.15 GB, free: 21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.258, allocations: 3.984 kB / 1.15 GB, free: 21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009483/1.259, allocations: 0.6469 MB / 1.15 GB, free: 20.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.259, allocations: 0 / 1.15 GB, free: 20.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009284/1.26, allocations: 95.91 kB / 1.15 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/1.26, allocations: 3.906 kB / 1.15 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/1.26, allocations: 7.125 kB / 1.15 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.26, allocations: 7.812 kB / 1.15 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.26, allocations: 3.953 kB / 1.151 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/1.263, allocations: 0.8335 MB / 1.151 GB, free: 20.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/1.264, allocations: 202.1 kB / 1.152 GB, free: 20.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/1.264, allocations: 14.66 kB / 1.152 GB, free: 20.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009473/1.265, allocations: 64.38 kB / 1.152 GB, free: 20.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/1.265, allocations: 41.84 kB / 1.152 GB, free: 20.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/1.265, allocations: 15.23 kB / 1.152 GB, free: 20.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007809/1.266, allocations: 433 kB / 1.152 GB, free: 20.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.266, allocations: 0 / 1.152 GB, free: 20.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00103/1.267, allocations: 239.6 kB / 1.152 GB, free: 20.02 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.0002308/1.267, allocations: 121.5 kB / 1.152 GB, free: 19.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002688/1.27, allocations: 0.885 MB / 1.153 GB, free: 19.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.27, allocations: 0 / 1.153 GB, free: 19.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008495/1.271, allocations: 256.4 kB / 1.154 GB, free: 19.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/1.272, allocations: 177.5 kB / 1.154 GB, free: 19.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/1.275, allocations: 1.399 MB / 1.155 GB, free: 18.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/1.276, allocations: 0.9355 MB / 1.156 GB, free: 17.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008063/1.277, allocations: 99.2 kB / 1.156 GB, free: 17.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/1.277, allocations: 46.03 kB / 1.156 GB, free: 17.86 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/1.277, allocations: 0 / 1.156 GB, free: 17.86 MB / 0.698 GB Notification: Performance of Templates: time 0.02167/1.299, allocations: 7.746 MB / 1.164 GB, free: 10.96 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)