Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001053/0.001053, allocations: 177.2 kB / 371.6 MB, free: 3.375 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.783/1.783, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008576/0.0008575, allocations: 89.03 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.964e-05, allocations: 4 kB / 0.8663 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3071, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9072/1.214, allocations: 143.8 MB / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.215, allocations: 93.5 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06108/1.276, allocations: 24.48 MB / 1.144 GB, free: 29.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.174e-06/1.276, allocations: 0 / 1.144 GB, free: 29.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001598/1.276, allocations: 35.94 kB / 1.144 GB, free: 28.98 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003327/1.279, allocations: 1.35 MB / 1.146 GB, free: 27.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.279, allocations: 12.03 kB / 1.146 GB, free: 27.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006759/1.28, allocations: 165.9 kB / 1.146 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/1.282, allocations: 0.7755 MB / 1.146 GB, free: 27.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.62e-05/1.282, allocations: 91.5 kB / 1.147 GB, free: 27.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/1.282, allocations: 112.1 kB / 1.147 GB, free: 26.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/1.284, allocations: 1.017 MB / 1.148 GB, free: 26.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/1.285, allocations: 0 / 1.148 GB, free: 26.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/1.285, allocations: 53.83 kB / 1.148 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/1.285, allocations: 28 kB / 1.148 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/1.286, allocations: 0.7104 MB / 1.148 GB, free: 25.83 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006137/1.292, allocations: 3.787 MB / 1.152 GB, free: 23.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/1.294, allocations: 0.8683 MB / 1.153 GB, free: 22.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/1.294, allocations: 381.5 kB / 1.153 GB, free: 22.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.823e-05/1.294, allocations: 10.19 kB / 1.153 GB, free: 22.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006388/1.295, allocations: 395.7 kB / 1.154 GB, free: 22.44 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 4.138e-06/1.295, allocations: 0 / 1.154 GB, free: 22.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.001203/1.296, allocations: 0.6939 MB / 1.154 GB, free: 21.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/1.296, allocations: 216.7 kB / 1.155 GB, free: 21.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009628/1.297, allocations: 0.8119 MB / 1.155 GB, free: 21.13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.829e-05/1.297, allocations: 51.98 kB / 1.155 GB, free: 21.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/1.298, allocations: 0.5479 MB / 1.156 GB, free: 20.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/1.298, allocations: 311.6 kB / 1.156 GB, free: 20.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/1.298, allocations: 18.19 kB / 1.156 GB, free: 20.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/1.298, allocations: 337.7 kB / 1.157 GB, free: 20.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/1.299, allocations: 267.6 kB / 1.157 GB, free: 20.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005341/1.299, allocations: 451.4 kB / 1.157 GB, free: 19.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/1.3, allocations: 334.2 kB / 1.158 GB, free: 19.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.3, allocations: 7.953 kB / 1.158 GB, free: 19.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001248/1.301, allocations: 0.8837 MB / 1.159 GB, free: 18.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001884/1.301, allocations: 0.6602 MB / 1.159 GB, free: 18.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.301, allocations: 0 / 1.159 GB, free: 18.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/1.301, allocations: 4 kB / 1.159 GB, free: 18.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/1.302, allocations: 202.5 kB / 1.159 GB, free: 18.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/1.302, allocations: 5.406 kB / 1.159 GB, free: 18.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/1.303, allocations: 185.9 kB / 1.16 GB, free: 17.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/1.303, allocations: 36.86 kB / 1.16 GB, free: 17.92 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/1.303, allocations: 4 kB / 1.16 GB, free: 17.91 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001054/1.304, allocations: 0.7351 MB / 1.16 GB, free: 17.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/1.304, allocations: 0 / 1.16 GB, free: 17.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/1.304, allocations: 8 kB / 1.16 GB, free: 17.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/1.304, allocations: 158.8 kB / 1.16 GB, free: 17.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/1.304, allocations: 8 kB / 1.16 GB, free: 17.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/1.305, allocations: 147.4 kB / 1.161 GB, free: 17.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/1.305, allocations: 36.08 kB / 1.161 GB, free: 17.17 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0001666/1.305, allocations: 154.2 kB / 1.161 GB, free: 17.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.305, allocations: 119.8 kB / 1.161 GB, free: 16.92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/1.306, allocations: 131.5 kB / 1.161 GB, free: 16.87 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/1.306, allocations: 8 kB / 1.161 GB, free: 16.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/1.306, allocations: 3.938 kB / 1.161 GB, free: 16.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.306, allocations: 9.062 kB / 1.161 GB, free: 16.85 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/1.308, allocations: 1.778 MB / 1.163 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.308, allocations: 0 / 1.163 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/1.308, allocations: 176.2 kB / 1.163 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.308, allocations: 9.312 kB / 1.163 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/1.309, allocations: 18.14 kB / 1.163 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.309, allocations: 4 kB / 1.163 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.309, allocations: 0 / 1.163 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/1.31, allocations: 1.165 MB / 1.164 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/1.31, allocations: 206.2 kB / 1.164 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-05/1.31, allocations: 20.39 kB / 1.164 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/1.311, allocations: 75.31 kB / 1.164 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/1.311, allocations: 53.16 kB / 1.164 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/1.311, allocations: 28.03 kB / 1.164 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007205/1.312, allocations: 0.6368 MB / 1.165 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.2e-07/1.312, allocations: 0 / 1.165 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008515/1.312, allocations: 410.7 kB / 1.165 GB, free: 13.82 MB / 0.7448 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: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * 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.0002267/1.313, allocations: 150.1 kB / 1.166 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001582/1.314, allocations: 1.232 MB / 1.167 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.314, allocations: 4 kB / 1.167 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/1.315, allocations: 342 kB / 1.167 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009683/1.316, allocations: 235 kB / 1.167 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/1.318, allocations: 1.463 MB / 1.169 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/1.318, allocations: 1.132 MB / 1.17 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007721/1.319, allocations: 193.3 kB / 1.17 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/1.319, allocations: 72.89 kB / 1.17 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of SimCode: time 7.42e-07/1.319, allocations: 4 kB / 1.17 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of Templates: time 0.02103/1.34, allocations: 13.27 MB / 1.183 GB, free: 13.65 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)