Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.599/1.599, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001091/0.001091, allocations: 172.9 kB / 361.4 MB, free: 6.816 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.724/1.724, allocations: 205.3 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008647/0.000865, allocations: 92.31 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.385e-05, allocations: 4 kB / 0.8517 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.704, allocations: 115.3 MB / 0.9643 GB, free: 78.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2643/0.9684, allocations: 144.1 MB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.9688, allocations: 76.61 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04972/1.019, allocations: 12.43 MB / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.473e-06/1.019, allocations: 0 / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.158e-05/1.019, allocations: 12 kB / 1.117 GB, free: 15.31 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001992/1.021, allocations: 0.8724 MB / 1.118 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.021, allocations: 8.031 kB / 1.118 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/1.021, allocations: 87.02 kB / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/1.022, allocations: 0.5315 MB / 1.119 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/1.022, allocations: 24 kB / 1.119 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/1.022, allocations: 35.94 kB / 1.119 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008833/1.023, allocations: 394.5 kB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/1.024, allocations: 0.5172 MB / 1.12 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/1.024, allocations: 7.938 kB / 1.12 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/1.024, allocations: 4 kB / 1.12 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/1.024, allocations: 15.95 kB / 1.12 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/1.028, allocations: 1.988 MB / 1.122 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/1.028, allocations: 403.7 kB / 1.122 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/1.029, allocations: 207.3 kB / 1.122 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/1.029, allocations: 8.438 kB / 1.122 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/1.029, allocations: 244.3 kB / 1.122 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=50): time 2.535e-06/1.029, allocations: 0 / 1.122 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50): time 0.0007047/1.03, allocations: 399.5 kB / 1.123 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/1.03, allocations: 162.7 kB / 1.123 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/1.03, allocations: 342 kB / 1.123 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/1.03, allocations: 29.7 kB / 1.123 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/1.031, allocations: 324.3 kB / 1.124 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/1.031, allocations: 161.5 kB / 1.124 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/1.031, allocations: 0 / 1.124 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.031, allocations: 366.8 kB / 1.124 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/1.031, allocations: 145.1 kB / 1.124 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/1.032, allocations: 250.4 kB / 1.125 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/1.032, allocations: 166.1 kB / 1.125 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.032, allocations: 0 / 1.125 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007354/1.033, allocations: 474.3 kB / 1.125 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/1.033, allocations: 34.47 kB / 1.125 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.033, allocations: 7.953 kB / 1.125 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.033, allocations: 4 kB / 1.125 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/1.033, allocations: 120.6 kB / 1.125 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.033, allocations: 8.188 kB / 1.125 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/1.034, allocations: 67.58 kB / 1.125 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/1.034, allocations: 20 kB / 1.125 GB, free: 6.668 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0001368/1.034, allocations: 119.6 kB / 1.126 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.044e-05/1.034, allocations: 55.34 kB / 1.126 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/1.034, allocations: 61.19 kB / 1.126 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.034, allocations: 7.953 kB / 1.126 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.034, allocations: 3 kB / 1.126 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/1.034, allocations: 5.203 kB / 1.126 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.036, allocations: 1.112 MB / 1.127 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.036, allocations: 0 / 1.127 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/1.036, allocations: 103.9 kB / 1.127 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.036, allocations: 7.984 kB / 1.127 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/1.036, allocations: 7.938 kB / 1.127 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.036, allocations: 4 kB / 1.127 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.036, allocations: 0 / 1.127 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009839/1.037, allocations: 0.7134 MB / 1.128 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/1.038, allocations: 176.4 kB / 1.128 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/1.038, allocations: 4 kB / 1.128 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/1.038, allocations: 51.91 kB / 1.128 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/1.038, allocations: 40.31 kB / 1.128 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/1.038, allocations: 18.91 kB / 1.128 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000291/1.039, allocations: 267 kB / 1.128 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.039, allocations: 0 / 1.128 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004955/1.039, allocations: 143.5 kB / 1.128 GB, free: 3.711 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.0001663/1.039, allocations: 104.4 kB / 1.128 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006942/1.04, allocations: 443.2 kB / 1.129 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.04, allocations: 0 / 1.129 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/1.04, allocations: 197.6 kB / 1.129 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/1.041, allocations: 117 kB / 1.129 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/1.044, allocations: 1.242 MB / 1.13 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/1.044, allocations: 0.9095 MB / 1.131 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003063/1.044, allocations: 62.16 kB / 1.131 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/1.045, allocations: 35.44 kB / 1.131 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of SimCode: time 3.41e-07/1.045, allocations: 0 / 1.131 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of Templates: time 0.01179/1.056, allocations: 5.512 MB / 1.137 GB, free: 11.19 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)