Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001479/0.001479, allocations: 172.9 kB / 366.7 MB, free: 1.656 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.689/1.689, allocations: 205.3 MB / 0.626 GB, free: 7.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.0008771/0.0008771, allocations: 80.3 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.298e-05/2.31e-05, allocations: 8 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.5674, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.7367, allocations: 139.2 MB / 1.109 GB, free: 11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.737, allocations: 78.48 kB / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.7534, allocations: 6.488 MB / 1.116 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7535, allocations: 2.812 kB / 1.116 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.322e-05/0.7535, allocations: 12 kB / 1.116 GB, free: 4.484 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0007855/0.7543, allocations: 0.6035 MB / 1.116 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.7543, allocations: 8.031 kB / 1.116 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.058e-05/0.7544, allocations: 51.38 kB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006231/0.7551, allocations: 378.8 kB / 1.117 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.7551, allocations: 12 kB / 1.117 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.7552, allocations: 20 kB / 1.117 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003433/0.7555, allocations: 193.5 kB / 1.117 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.756, allocations: 282.3 kB / 1.117 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.756, allocations: 0 / 1.117 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.756, allocations: 0 / 1.117 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.756, allocations: 8 kB / 1.117 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.7576, allocations: 1.116 MB / 1.118 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.758, allocations: 208.1 kB / 1.118 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.7581, allocations: 85.23 kB / 1.119 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.7581, allocations: 4.188 kB / 1.119 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.7583, allocations: 134.6 kB / 1.119 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.7583, allocations: 0 / 1.119 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0003665/0.7587, allocations: 193.2 kB / 1.119 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.7588, allocations: 136.5 kB / 1.119 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.7591, allocations: 265 kB / 1.119 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.7591, allocations: 29.7 kB / 1.119 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.7592, allocations: 216.3 kB / 1.119 GB, free: 372 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.7593, allocations: 80.12 kB / 1.12 GB, free: 292 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.7593, allocations: 0 / 1.12 GB, free: 292 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7595, allocations: 338.8 kB / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.7596, allocations: 75.94 kB / 1.12 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.7598, allocations: 136.5 kB / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.7599, allocations: 89.47 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7599, allocations: 4 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003668/0.7603, allocations: 250.5 kB / 1.12 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.7605, allocations: 450.1 kB / 1.121 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7605, allocations: 0 / 1.121 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.7605, allocations: 4 kB / 1.121 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.7608, allocations: 63.89 kB / 1.121 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.7608, allocations: 2.531 kB / 1.121 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.761, allocations: 47.7 kB / 1.121 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.761, allocations: 12 kB / 1.121 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.7611, allocations: 4 kB / 1.121 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002726/0.7613, allocations: 172.9 kB / 1.121 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-06/0.7613, allocations: 0 / 1.121 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-06/0.7614, allocations: 4.094 kB / 1.121 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.7616, allocations: 51.92 kB / 1.121 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.7616, allocations: 6.656 kB / 1.121 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.7617, allocations: 27.52 kB / 1.121 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.7617, allocations: 8 kB / 1.121 GB, free: 14.51 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.702e-05/0.7618, allocations: 112.9 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.7619, allocations: 31.62 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.703e-05/0.762, allocations: 34.86 kB / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.762, allocations: 8.047 kB / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.762, allocations: 3.984 kB / 1.121 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.762, allocations: 0 / 1.121 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.763, allocations: 0.7818 MB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.7631, allocations: 4 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.7633, allocations: 55.84 kB / 1.122 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.7633, allocations: 4 kB / 1.122 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.7633, allocations: 5.406 kB / 1.122 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7633, allocations: 4 kB / 1.122 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.7634, allocations: 12.11 kB / 1.122 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.7639, allocations: 0.5869 MB / 1.123 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.764, allocations: 108.7 kB / 1.123 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.7641, allocations: 8 kB / 1.123 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.7643, allocations: 19.98 kB / 1.123 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.7643, allocations: 19.97 kB / 1.123 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.7643, allocations: 8 kB / 1.123 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001807/0.7645, allocations: 204.6 kB / 1.123 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7645, allocations: 0 / 1.123 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004869/0.765, allocations: 111.4 kB / 1.123 GB, free: 12.23 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.000168/0.7652, allocations: 115.1 kB / 1.123 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004429/0.7657, allocations: 293.3 kB / 1.124 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7657, allocations: 0 / 1.124 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.7658, allocations: 84.67 kB / 1.124 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.7662, allocations: 62.61 kB / 1.124 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009932/0.7672, allocations: 0.5063 MB / 1.124 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.7676, allocations: 0.8074 MB / 1.125 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00023/0.7678, allocations: 51.25 kB / 1.125 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.7679, allocations: 27.38 kB / 1.125 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.7679, allocations: 0 / 1.125 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.006001/0.7739, allocations: 3.056 MB / 1.128 GB, free: 7.254 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)