Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001104/0.001104, allocations: 176.7 kB / 371.6 MB, free: 3.371 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.589/1.589, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009179/0.000918, allocations: 98.41 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.878e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3009, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9696/1.271, allocations: 147.4 MB / 1.124 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/1.271, allocations: 78.56 kB / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05485/1.326, allocations: 19.86 MB / 1.143 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.943e-06/1.326, allocations: 0 / 1.143 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001958/1.326, allocations: 24 kB / 1.143 GB, free: 28.03 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003009/1.329, allocations: 1.076 MB / 1.144 GB, free: 27.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.329, allocations: 12.03 kB / 1.144 GB, free: 27.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005024/1.33, allocations: 126.5 kB / 1.144 GB, free: 26.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/1.331, allocations: 0.7367 MB / 1.145 GB, free: 26.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.331, allocations: 81.61 kB / 1.145 GB, free: 26.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/1.332, allocations: 73.8 kB / 1.145 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/1.333, allocations: 0.7184 MB / 1.146 GB, free: 25.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/1.333, allocations: 3.938 kB / 1.146 GB, free: 25.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-05/1.333, allocations: 34.52 kB / 1.146 GB, free: 25.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/1.333, allocations: 19.94 kB / 1.146 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007607/1.334, allocations: 483.3 kB / 1.147 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/1.337, allocations: 2.351 MB / 1.149 GB, free: 24.03 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/1.338, allocations: 0.5922 MB / 1.149 GB, free: 23.67 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/1.339, allocations: 223.8 kB / 1.15 GB, free: 23.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.019e-05/1.339, allocations: 9.219 kB / 1.15 GB, free: 23.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005201/1.339, allocations: 302.8 kB / 1.15 GB, free: 23.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 3.868e-06/1.339, allocations: 0 / 1.15 GB, free: 23.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.0008622/1.34, allocations: 0.5218 MB / 1.15 GB, free: 22.99 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/1.34, allocations: 140.9 kB / 1.151 GB, free: 22.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007851/1.341, allocations: 0.6523 MB / 1.151 GB, free: 22.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/1.341, allocations: 41.33 kB / 1.151 GB, free: 22.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/1.342, allocations: 438.9 kB / 1.152 GB, free: 22.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/1.342, allocations: 205.7 kB / 1.152 GB, free: 21.95 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/1.342, allocations: 11 kB / 1.152 GB, free: 21.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/1.342, allocations: 327.8 kB / 1.152 GB, free: 21.64 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/1.342, allocations: 184.2 kB / 1.152 GB, free: 21.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/1.342, allocations: 294.8 kB / 1.153 GB, free: 21.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/1.343, allocations: 216.3 kB / 1.153 GB, free: 21.19 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.343, allocations: 0 / 1.153 GB, free: 21.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008675/1.344, allocations: 0.6073 MB / 1.153 GB, free: 20.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002159/1.344, allocations: 0.8812 MB / 1.154 GB, free: 19.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.344, allocations: 0.9375 kB / 1.154 GB, free: 19.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/1.344, allocations: 12.66 kB / 1.154 GB, free: 19.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/1.345, allocations: 159.1 kB / 1.154 GB, free: 19.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/1.345, allocations: 4.609 kB / 1.154 GB, free: 19.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/1.345, allocations: 98.45 kB / 1.155 GB, free: 19.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/1.345, allocations: 22.58 kB / 1.155 GB, free: 19.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/1.345, allocations: 4 kB / 1.155 GB, free: 19.6 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007248/1.346, allocations: 0.4932 MB / 1.155 GB, free: 19.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.346, allocations: 8.984 kB / 1.155 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/1.346, allocations: 8 kB / 1.155 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/1.347, allocations: 155.2 kB / 1.155 GB, free: 19.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.347, allocations: 4.562 kB / 1.155 GB, free: 19.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/1.347, allocations: 75.17 kB / 1.155 GB, free: 19.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/1.347, allocations: 25.03 kB / 1.155 GB, free: 19.09 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001566/1.348, allocations: 138.1 kB / 1.155 GB, free: 18.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/1.348, allocations: 99.39 kB / 1.156 GB, free: 18.87 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/1.348, allocations: 103.4 kB / 1.156 GB, free: 18.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.348, allocations: 8 kB / 1.156 GB, free: 18.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.348, allocations: 0 / 1.156 GB, free: 18.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/1.348, allocations: 3.281 kB / 1.156 GB, free: 18.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/1.35, allocations: 1.449 MB / 1.157 GB, free: 17.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.35, allocations: 0.5156 kB / 1.157 GB, free: 17.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/1.351, allocations: 108 kB / 1.157 GB, free: 17.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.351, allocations: 4.656 kB / 1.157 GB, free: 17.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/1.351, allocations: 13.33 kB / 1.157 GB, free: 17.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.351, allocations: 4 kB / 1.157 GB, free: 17.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.351, allocations: 9.609 kB / 1.157 GB, free: 17.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/1.352, allocations: 0.9129 MB / 1.158 GB, free: 17.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/1.352, allocations: 234.1 kB / 1.158 GB, free: 17.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.928e-05/1.352, allocations: 12.33 kB / 1.158 GB, free: 17.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004956/1.353, allocations: 53.12 kB / 1.158 GB, free: 17.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.353, allocations: 33.09 kB / 1.158 GB, free: 17.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/1.353, allocations: 21.8 kB / 1.158 GB, free: 17.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006407/1.354, allocations: 0.509 MB / 1.159 GB, free: 16.65 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.354, allocations: 0 / 1.159 GB, free: 16.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007259/1.355, allocations: 293.1 kB / 1.159 GB, free: 16.39 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002079/1.355, allocations: 126.1 kB / 1.159 GB, free: 16.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001116/1.356, allocations: 0.7861 MB / 1.16 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.356, allocations: 1 kB / 1.16 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/1.356, allocations: 248.5 kB / 1.16 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/1.357, allocations: 239.2 kB / 1.161 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/1.359, allocations: 1.166 MB / 1.162 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/1.36, allocations: 1.018 MB / 1.163 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008052/1.361, allocations: 176.5 kB / 1.163 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/1.361, allocations: 50.34 kB / 1.163 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/1.361, allocations: 0 / 1.163 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of Templates: time 0.01943/1.38, allocations: 10.79 MB / 1.173 GB, free: 5.543 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)