Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.205/2.205, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002053/0.002053, allocations: 172.7 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.415/2.415, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008756/0.0008753, allocations: 94.41 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007394/0.0007399, allocations: 15.06 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2516, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.225/0.4766, allocations: 134.4 MB / 1.031 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.477, allocations: 87.94 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09369/0.5707, allocations: 21.92 MB / 1.052 GB, free: 4.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.845e-06/0.5708, allocations: 0 / 1.052 GB, free: 4.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001289/0.5709, allocations: 28 kB / 1.052 GB, free: 4.902 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.005405/0.5763, allocations: 1.501 MB / 1.054 GB, free: 3.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5764, allocations: 8.031 kB / 1.054 GB, free: 3.332 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006139/0.577, allocations: 159 kB / 1.054 GB, free: 3.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.5795, allocations: 0.7789 MB / 1.055 GB, free: 2.352 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.5797, allocations: 82.45 kB / 1.055 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/0.58, allocations: 120.2 kB / 1.055 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.5838, allocations: 1.111 MB / 1.056 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.711e-05/0.5839, allocations: 15.88 kB / 1.056 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.584, allocations: 40 kB / 1.056 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.759e-05/0.5841, allocations: 28 kB / 1.056 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5962/1.18, allocations: 0.9031 MB / 1.057 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008913/1.189, allocations: 3.94 MB / 1.061 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004493/1.194, allocations: 1.138 MB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/1.195, allocations: 476.8 kB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.85e-05/1.196, allocations: 16.36 kB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/1.197, allocations: 473.5 kB / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 4.448e-06/1.197, allocations: 0 / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.004574/1.202, allocations: 1.191 MB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/1.202, allocations: 220.4 kB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/1.204, allocations: 0.8903 MB / 1.065 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002451/1.204, allocations: 43.14 kB / 1.065 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005727/1.205, allocations: 0.537 MB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/1.205, allocations: 294.2 kB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/1.205, allocations: 20 kB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/1.205, allocations: 337.9 kB / 1.066 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/1.207, allocations: 350.7 kB / 1.067 GB, free: 140.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/1.209, allocations: 0.5068 MB / 1.067 GB, free: 139.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/1.21, allocations: 390.6 kB / 1.067 GB, free: 139.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.21, allocations: 4 kB / 1.067 GB, free: 139.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003781/1.214, allocations: 0.9957 MB / 1.068 GB, free: 139.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.488e-05/1.214, allocations: 125.7 kB / 1.068 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.214, allocations: 0.75 kB / 1.068 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/1.214, allocations: 7.781 kB / 1.068 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/1.216, allocations: 216.9 kB / 1.069 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/1.216, allocations: 8.359 kB / 1.069 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.218, allocations: 165.2 kB / 1.069 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.218, allocations: 27.03 kB / 1.069 GB, free: 139.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.218, allocations: 4.125 kB / 1.069 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002142/1.22, allocations: 0.6881 MB / 1.07 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.22, allocations: 2.953 kB / 1.07 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.22, allocations: 4.531 kB / 1.07 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/1.221, allocations: 168.2 kB / 1.07 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/1.221, allocations: 9.609 kB / 1.07 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/1.222, allocations: 124.1 kB / 1.07 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/1.223, allocations: 27.45 kB / 1.07 GB, free: 139.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.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 (109): * Single equations (assignments): 109 * 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.0007821/1.223, allocations: 328 kB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/1.224, allocations: 111.5 kB / 1.07 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/1.224, allocations: 122.9 kB / 1.07 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/1.224, allocations: 14.75 kB / 1.07 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/1.224, allocations: 8.25 kB / 1.07 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/1.224, allocations: 5.266 kB / 1.07 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/1.226, allocations: 0.9924 MB / 1.071 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/1.226, allocations: 1.484 kB / 1.071 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/1.228, allocations: 188.7 kB / 1.072 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/1.228, allocations: 3.281 kB / 1.072 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.782e-05/1.228, allocations: 18.02 kB / 1.072 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/1.228, allocations: 5.828 kB / 1.072 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.228, allocations: 3.938 kB / 1.072 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005208/1.233, allocations: 1.365 MB / 1.073 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/1.234, allocations: 200.4 kB / 1.073 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/1.234, allocations: 18.3 kB / 1.073 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000965/1.235, allocations: 89.19 kB / 1.073 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/1.235, allocations: 57.33 kB / 1.073 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/1.235, allocations: 22.31 kB / 1.073 GB, free: 138.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001343/1.236, allocations: 0.6047 MB / 1.074 GB, free: 138.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.91e-07/1.237, allocations: 1.656 kB / 1.074 GB, free: 138.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001509/1.238, allocations: 382 kB / 1.074 GB, free: 138.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.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 (88): * Single equations (assignments): 86 * 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.0002804/1.238, allocations: 136.2 kB / 1.074 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004386/1.243, allocations: 1.219 MB / 1.076 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.243, allocations: 0 / 1.076 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/1.245, allocations: 433.7 kB / 1.076 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00465/1.249, allocations: 263.5 kB / 1.076 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009875/1.259, allocations: 2.287 MB / 1.079 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00198/1.261, allocations: 1.08 MB / 1.08 GB, free: 136.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002185/1.264, allocations: 128.1 kB / 1.08 GB, free: 136.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/1.266, allocations: 78.45 kB / 1.08 GB, free: 136.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.224e-06/1.266, allocations: 1.312 kB / 1.08 GB, free: 136.4 MB / 0.698 GB Notification: Performance of Templates: time 0.03833/1.305, allocations: 10.39 MB / 1.09 GB, free: 135.9 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)