Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.6 MB / 307.5 MB, free: 5.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.001827/0.001827, allocations: 184.5 kB / 377.1 MB, free: 1.504 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.866/1.866, allocations: 205.4 MB / 0.6367 GB, free: 8.578 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.0009065/0.0009065, allocations: 88.31 kB / 0.751 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003836, allocations: 12 kB / 0.8748 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3042, allocations: 116.3 MB / 0.9884 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7739/1.078, allocations: 139.9 MB / 1.125 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/1.078, allocations: 80.95 kB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01516/1.094, allocations: 6.417 MB / 1.131 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.785e-06/1.094, allocations: 0 / 1.131 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.654e-05/1.094, allocations: 8 kB / 1.131 GB, free: 30.46 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001235/1.095, allocations: 0.6968 MB / 1.132 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/1.095, allocations: 12.73 kB / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/1.095, allocations: 53.41 kB / 1.132 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006162/1.096, allocations: 354.7 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/1.096, allocations: 29 kB / 1.133 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/1.096, allocations: 44.92 kB / 1.133 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008223/1.097, allocations: 399.5 kB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.097, allocations: 0 / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/1.097, allocations: 18.02 kB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/1.097, allocations: 8.562 kB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/1.098, allocations: 292.3 kB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/1.1, allocations: 1.294 MB / 1.135 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007365/1.1, allocations: 305.2 kB / 1.135 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/1.1, allocations: 4.797 kB / 1.135 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000382/1.101, allocations: 185.1 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/1.101, allocations: 0 / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0007065/1.102, allocations: 372.2 kB / 1.135 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/1.102, allocations: 133.1 kB / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/1.102, allocations: 359.9 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/1.102, allocations: 30.27 kB / 1.136 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/1.102, allocations: 237.6 kB / 1.136 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/1.102, allocations: 86.55 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/1.102, allocations: 8 kB / 1.136 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.103, allocations: 347.5 kB / 1.136 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/1.103, allocations: 101.9 kB / 1.137 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/1.103, allocations: 191.5 kB / 1.137 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/1.103, allocations: 120.9 kB / 1.137 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.103, allocations: 4 kB / 1.137 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005849/1.104, allocations: 347.5 kB / 1.137 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001486/1.104, allocations: 0.5335 MB / 1.138 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.104, allocations: 1.344 kB / 1.138 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.104, allocations: 4 kB / 1.138 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/1.104, allocations: 65.22 kB / 1.138 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.104, allocations: 4.734 kB / 1.138 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/1.105, allocations: 65.64 kB / 1.138 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/1.105, allocations: 12.7 kB / 1.138 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/1.105, allocations: 4 kB / 1.138 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002843/1.105, allocations: 217 kB / 1.138 GB, free: 23.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/1.105, allocations: 3.938 kB / 1.138 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-06/1.105, allocations: 4 kB / 1.138 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/1.105, allocations: 52.91 kB / 1.138 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/1.105, allocations: 4.703 kB / 1.138 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/1.105, allocations: 43.44 kB / 1.138 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/1.105, allocations: 13.17 kB / 1.138 GB, free: 23.88 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001692/1.106, allocations: 230.4 kB / 1.138 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/1.106, allocations: 43.39 kB / 1.138 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.13e-05/1.106, allocations: 44.95 kB / 1.139 GB, free: 23.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.106, allocations: 4 kB / 1.139 GB, free: 23.56 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.106, allocations: 0.875 kB / 1.139 GB, free: 23.56 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.106, allocations: 6.531 kB / 1.139 GB, free: 23.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.107, allocations: 0.9539 MB / 1.139 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.107, allocations: 0.7969 kB / 1.139 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/1.107, allocations: 51.84 kB / 1.139 GB, free: 22.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.107, allocations: 4.938 kB / 1.14 GB, free: 22.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/1.107, allocations: 9.344 kB / 1.14 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/1.107, allocations: 8.688 kB / 1.14 GB, free: 22.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.107, allocations: 4.703 kB / 1.14 GB, free: 22.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000757/1.108, allocations: 0.7348 MB / 1.14 GB, free: 21.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/1.108, allocations: 125.8 kB / 1.14 GB, free: 21.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/1.108, allocations: 9.266 kB / 1.14 GB, free: 21.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/1.108, allocations: 24.78 kB / 1.14 GB, free: 21.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/1.108, allocations: 22.33 kB / 1.14 GB, free: 21.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/1.109, allocations: 18 kB / 1.14 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000283/1.109, allocations: 287.3 kB / 1.141 GB, free: 21.33 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.109, allocations: 4 kB / 1.141 GB, free: 21.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004818/1.109, allocations: 124.1 kB / 1.141 GB, free: 21.21 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.0001619/1.109, allocations: 117.9 kB / 1.141 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006541/1.11, allocations: 378.2 kB / 1.141 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.11, allocations: 3.938 kB / 1.141 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/1.11, allocations: 126.8 kB / 1.141 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/1.111, allocations: 67.98 kB / 1.141 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/1.112, allocations: 0.8678 MB / 1.142 GB, free: 19.74 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/1.112, allocations: 0.8168 MB / 1.143 GB, free: 18.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001817/1.112, allocations: 48.17 kB / 1.143 GB, free: 18.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/1.113, allocations: 33.36 kB / 1.143 GB, free: 18.89 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.113, allocations: 0 / 1.143 GB, free: 18.89 MB / 0.7292 GB Notification: Performance of Templates: time 0.007046/1.12, allocations: 3.195 MB / 1.146 GB, free: 17.09 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)