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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.953/1.953, allocations: 293 MB / 309 MB, free: 4.82 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.001027/0.001027, allocations: 176.2 kB / 378.7 MB, free: 1.031 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.673/1.673, allocations: 205.4 MB / 0.6383 GB, free: 9.164 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.0008064/0.0008064, allocations: 91.03 kB / 0.7527 GB, free: 62.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003823, allocations: 16 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2761, allocations: 116.4 MB / 0.9905 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7356/1.012, allocations: 140 MB / 1.127 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/1.012, allocations: 80.78 kB / 1.127 GB, free: 34.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0149/1.027, allocations: 6.446 MB / 1.134 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.755e-06/1.027, allocations: 0 / 1.134 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.979e-05/1.027, allocations: 8.75 kB / 1.134 GB, free: 29.7 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.001166/1.028, allocations: 0.6839 MB / 1.134 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.028, allocations: 8.031 kB / 1.134 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/1.028, allocations: 56.84 kB / 1.134 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/1.029, allocations: 379.4 kB / 1.135 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/1.029, allocations: 29.38 kB / 1.135 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/1.029, allocations: 36.38 kB / 1.135 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/1.03, allocations: 405.6 kB / 1.135 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/1.03, allocations: 4.5 kB / 1.135 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/1.03, allocations: 18.95 kB / 1.135 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/1.03, allocations: 11.94 kB / 1.135 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/1.03, allocations: 293.2 kB / 1.135 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/1.032, allocations: 1.286 MB / 1.137 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/1.033, allocations: 304.6 kB / 1.137 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/1.033, allocations: 136.7 kB / 1.137 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/1.033, allocations: 0.75 kB / 1.137 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/1.034, allocations: 187.2 kB / 1.137 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 3.156e-06/1.034, allocations: 2.953 kB / 1.137 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0007254/1.034, allocations: 376 kB / 1.138 GB, free: 25.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/1.034, allocations: 137.2 kB / 1.138 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/1.035, allocations: 397.7 kB / 1.138 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/1.035, allocations: 34.41 kB / 1.138 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/1.035, allocations: 229.9 kB / 1.138 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/1.035, allocations: 85.66 kB / 1.138 GB, free: 25.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/1.035, allocations: 8.844 kB / 1.138 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/1.035, allocations: 356 kB / 1.139 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/1.035, allocations: 105.7 kB / 1.139 GB, free: 24.58 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/1.036, allocations: 195.1 kB / 1.139 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/1.036, allocations: 260.9 kB / 1.139 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.036, allocations: 0 / 1.139 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005605/1.037, allocations: 347.8 kB / 1.14 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/1.037, allocations: 133 kB / 1.14 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/1.037, allocations: 3.344 kB / 1.14 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.037, allocations: 7.938 kB / 1.14 GB, free: 23.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/1.037, allocations: 69.16 kB / 1.14 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.037, allocations: 0.8438 kB / 1.14 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/1.037, allocations: 57.69 kB / 1.14 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/1.037, allocations: 17.2 kB / 1.14 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/1.037, allocations: 4 kB / 1.14 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003029/1.038, allocations: 219.7 kB / 1.14 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/1.038, allocations: 4.125 kB / 1.14 GB, free: 23.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/1.038, allocations: 4 kB / 1.14 GB, free: 23.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/1.038, allocations: 50.41 kB / 1.14 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.038, allocations: 4.562 kB / 1.14 GB, free: 23.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/1.038, allocations: 38.97 kB / 1.14 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/1.038, allocations: 12.7 kB / 1.14 GB, free: 23.21 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.0001837/1.038, allocations: 237.7 kB / 1.141 GB, free: 22.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/1.038, allocations: 41.09 kB / 1.141 GB, free: 22.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.351e-05/1.038, allocations: 48.62 kB / 1.141 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.038, allocations: 4.656 kB / 1.141 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.038, allocations: 0 / 1.141 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/1.038, allocations: 2.016 kB / 1.141 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/1.04, allocations: 0.954 MB / 1.142 GB, free: 21.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.04, allocations: 1.219 kB / 1.142 GB, free: 21.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/1.04, allocations: 56.69 kB / 1.142 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/1.04, allocations: 4.875 kB / 1.142 GB, free: 21.92 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/1.04, allocations: 8.562 kB / 1.142 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/1.04, allocations: 8.594 kB / 1.142 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.04, allocations: 4 kB / 1.142 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007831/1.041, allocations: 0.6347 MB / 1.142 GB, free: 21.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.472e-05/1.041, allocations: 124.9 kB / 1.142 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/1.041, allocations: 8.703 kB / 1.142 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/1.041, allocations: 27.47 kB / 1.142 GB, free: 21.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/1.041, allocations: 17.77 kB / 1.142 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/1.041, allocations: 17.62 kB / 1.142 GB, free: 21.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003027/1.042, allocations: 287.9 kB / 1.143 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.042, allocations: 0 / 1.143 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004996/1.042, allocations: 124.2 kB / 1.143 GB, free: 20.7 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.0001852/1.042, allocations: 121.8 kB / 1.143 GB, free: 20.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007033/1.043, allocations: 384 kB / 1.143 GB, free: 20.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.043, allocations: 0 / 1.143 GB, free: 20.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/1.043, allocations: 125.7 kB / 1.143 GB, free: 20.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/1.044, allocations: 75.89 kB / 1.144 GB, free: 20.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/1.045, allocations: 0.8468 MB / 1.144 GB, free: 19.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/1.046, allocations: 0.8048 MB / 1.145 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002163/1.046, allocations: 47 kB / 1.145 GB, free: 18.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/1.046, allocations: 38.16 kB / 1.145 GB, free: 18.39 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/1.046, allocations: 0 / 1.145 GB, free: 18.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.007921/1.054, allocations: 3.238 MB / 1.148 GB, free: 16.56 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)