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.587/1.587, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001441/0.001441, allocations: 176.8 kB / 366.7 MB, free: 1.703 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.81/1.81, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.001028/0.001028, allocations: 92.17 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.58e-05, allocations: 11.98 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6914/0.6914, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.8737, allocations: 139.2 MB / 1.109 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.874, allocations: 76.48 kB / 1.109 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01691/0.8909, allocations: 6.36 MB / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.208e-06/0.891, allocations: 4 kB / 1.115 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.807e-05/0.891, allocations: 11.94 kB / 1.116 GB, free: 4.617 MB / 0.7136 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.001052/0.8921, allocations: 0.6267 MB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.8921, allocations: 8.031 kB / 1.116 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.8923, allocations: 56.16 kB / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.8929, allocations: 358.8 kB / 1.117 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.893, allocations: 12 kB / 1.117 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.8931, allocations: 23.98 kB / 1.117 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004147/0.8935, allocations: 213.5 kB / 1.117 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.8941, allocations: 318.2 kB / 1.117 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.8941, allocations: 0 / 1.117 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.8941, allocations: 0 / 1.117 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.8941, allocations: 12 kB / 1.117 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.896, allocations: 1.186 MB / 1.118 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.8965, allocations: 211 kB / 1.118 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.8966, allocations: 104.9 kB / 1.119 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.8967, allocations: 7.984 kB / 1.119 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.8969, allocations: 143 kB / 1.119 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.8969, allocations: 0 / 1.119 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0004165/0.8973, allocations: 209.2 kB / 1.119 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.8974, allocations: 132.5 kB / 1.119 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.8977, allocations: 269.1 kB / 1.119 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.8978, allocations: 29.7 kB / 1.119 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.8979, allocations: 236.1 kB / 1.12 GB, free: 300 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.898, allocations: 82.75 kB / 1.12 GB, free: 216 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.898, allocations: 0 / 1.12 GB, free: 216 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8981, allocations: 342.8 kB / 1.12 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.8983, allocations: 72.56 kB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.8985, allocations: 157.3 kB / 1.12 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.8986, allocations: 87.48 kB / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8986, allocations: 0 / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003831/0.899, allocations: 262 kB / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.8992, allocations: 0.5328 MB / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.8993, allocations: 4 kB / 1.121 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.8993, allocations: 3.984 kB / 1.121 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.8996, allocations: 66.53 kB / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.8996, allocations: 8 kB / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.8998, allocations: 39.72 kB / 1.121 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.8998, allocations: 15.95 kB / 1.121 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.8998, allocations: 4 kB / 1.121 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002926/0.9001, allocations: 187.9 kB / 1.121 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.9002, allocations: 4 kB / 1.121 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.9002, allocations: 4 kB / 1.121 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.9004, allocations: 47.92 kB / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.9004, allocations: 3.438 kB / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.9005, allocations: 31.78 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.9006, allocations: 15.98 kB / 1.121 GB, free: 14.27 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 () * 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 9.058e-05/0.9007, allocations: 108.9 kB / 1.122 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.9007, allocations: 39.61 kB / 1.122 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.942e-05/0.9008, allocations: 34.86 kB / 1.122 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.9008, allocations: 4 kB / 1.122 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.9008, allocations: 1.406 kB / 1.122 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.9008, allocations: 3.984 kB / 1.122 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.9019, allocations: 0.8168 MB / 1.122 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9019, allocations: 4 kB / 1.122 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.9021, allocations: 51.91 kB / 1.122 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.9022, allocations: 4 kB / 1.122 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.9022, allocations: 14.25 kB / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.9022, allocations: 7.984 kB / 1.122 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.9022, allocations: 4 kB / 1.122 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006612/0.9029, allocations: 0.6329 MB / 1.123 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.903, allocations: 112.7 kB / 1.123 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.903, allocations: 11.98 kB / 1.123 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.9033, allocations: 19.98 kB / 1.123 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.9033, allocations: 19.92 kB / 1.123 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.9033, allocations: 12 kB / 1.123 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002095/0.9035, allocations: 208.6 kB / 1.123 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9035, allocations: 0 / 1.123 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005057/0.9041, allocations: 115.4 kB / 1.124 GB, free: 11.86 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 () * 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.000209/0.9043, allocations: 120.8 kB / 1.124 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005143/0.9048, allocations: 317.3 kB / 1.124 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9048, allocations: 0 / 1.124 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.905, allocations: 95.8 kB / 1.124 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.9055, allocations: 69.03 kB / 1.124 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.9066, allocations: 0.5216 MB / 1.125 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.907, allocations: 0.8115 MB / 1.125 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002517/0.9073, allocations: 55.25 kB / 1.126 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.9074, allocations: 23.44 kB / 1.126 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9074, allocations: 0 / 1.126 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of Templates: time 0.007/0.9144, allocations: 3.096 MB / 1.129 GB, free: 6.773 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)