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.5/1.5, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.0009705/0.0009705, allocations: 176.8 kB / 366.7 MB, free: 1.684 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.355/1.355, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008197/0.0008197, allocations: 84.48 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 4 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5689/0.5689, allocations: 116.3 MB / 0.9733 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1718/0.7407, allocations: 143.1 MB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.7411, allocations: 91.94 kB / 1.113 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06004/0.8011, allocations: 24.35 MB / 1.137 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8012, allocations: 0 / 1.137 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001166/0.8013, allocations: 35.98 kB / 1.137 GB, free: 14.71 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.002954/0.8042, allocations: 1.348 MB / 1.138 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.8043, allocations: 16.03 kB / 1.138 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006214/0.8049, allocations: 162 kB / 1.138 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.8069, allocations: 0.7775 MB / 1.139 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/0.807, allocations: 40 kB / 1.139 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.8072, allocations: 71.94 kB / 1.139 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001588/0.8088, allocations: 0.6487 MB / 1.14 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.8105, allocations: 0.8649 MB / 1.141 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.8105, allocations: 0 / 1.141 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.8106, allocations: 4 kB / 1.141 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.8106, allocations: 24 kB / 1.141 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005174/0.8158, allocations: 3.54 MB / 1.144 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.8173, allocations: 0.8252 MB / 1.145 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.8178, allocations: 351.2 kB / 1.145 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.8179, allocations: 12.78 kB / 1.145 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005777/0.8185, allocations: 368.5 kB / 1.146 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 2.855e-06/0.8185, allocations: 4 kB / 1.146 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.001041/0.8195, allocations: 0.6321 MB / 1.146 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.944e-05/0.8197, allocations: 222.4 kB / 1.147 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/0.8204, allocations: 0.6142 MB / 1.147 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.128e-05/0.8205, allocations: 29.7 kB / 1.147 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.8209, allocations: 0.5546 MB / 1.148 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.8211, allocations: 299.6 kB / 1.148 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.8212, allocations: 4 kB / 1.148 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8213, allocations: 337.9 kB / 1.148 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.8217, allocations: 250.6 kB / 1.149 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005153/0.8222, allocations: 428 kB / 1.149 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.8228, allocations: 302.7 kB / 1.149 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8229, allocations: 4 kB / 1.149 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001287/0.8242, allocations: 0.7848 MB / 1.15 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002371/0.8244, allocations: 0.6659 MB / 1.151 GB, free: 108 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.8244, allocations: 4 kB / 1.151 GB, free: 104 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.8245, allocations: 8 kB / 1.151 GB, free: 96 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.8252, allocations: 195.8 kB / 1.151 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.8252, allocations: 7.938 kB / 1.151 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/0.8259, allocations: 159.2 kB / 1.151 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.826, allocations: 31.98 kB / 1.151 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.826, allocations: 5.406 kB / 1.151 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001077/0.8271, allocations: 0.6359 MB / 1.152 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8271, allocations: 2.344 kB / 1.152 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.8272, allocations: 8 kB / 1.152 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.8277, allocations: 155.8 kB / 1.152 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.8278, allocations: 12.45 kB / 1.152 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/0.8283, allocations: 107.6 kB / 1.152 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.8284, allocations: 32 kB / 1.152 GB, free: 14.76 MB / 0.7605 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.0001606/0.8286, allocations: 128.8 kB / 1.152 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.8287, allocations: 98.78 kB / 1.152 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.8289, allocations: 102.8 kB / 1.152 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.8289, allocations: 8 kB / 1.152 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.829, allocations: 2.438 kB / 1.152 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.829, allocations: 7.938 kB / 1.152 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.831, allocations: 1.579 MB / 1.154 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.831, allocations: 0 / 1.154 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.8317, allocations: 175.8 kB / 1.154 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.8318, allocations: 4 kB / 1.154 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.8318, allocations: 8 kB / 1.154 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.8318, allocations: 4 kB / 1.154 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.8318, allocations: 7.891 kB / 1.154 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.8333, allocations: 1.089 MB / 1.155 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.8335, allocations: 179.6 kB / 1.155 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/0.8336, allocations: 7.984 kB / 1.155 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.834, allocations: 59.95 kB / 1.155 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.8341, allocations: 48.7 kB / 1.155 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.8341, allocations: 27.95 kB / 1.155 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005325/0.8347, allocations: 480.5 kB / 1.156 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8347, allocations: 0 / 1.156 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008336/0.8355, allocations: 378.1 kB / 1.156 GB, free: 10.32 MB / 0.7605 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.0002168/0.8358, allocations: 140.6 kB / 1.156 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.8373, allocations: 1.153 MB / 1.158 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8373, allocations: 0 / 1.158 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.8378, allocations: 322.8 kB / 1.158 GB, free: 8.676 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009154/0.8387, allocations: 208 kB / 1.158 GB, free: 8.484 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.8409, allocations: 1.405 MB / 1.159 GB, free: 7.051 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/0.8415, allocations: 1.134 MB / 1.161 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007173/0.8422, allocations: 171.9 kB / 1.161 GB, free: 5.723 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.8424, allocations: 63.42 kB / 1.161 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of SimCode: time 5.31e-07/0.8424, allocations: 0 / 1.161 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of Templates: time 0.02081/0.8632, allocations: 11.49 MB / 1.172 GB, free: 10.43 MB / 0.7761 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)