Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.128/2.128, allocations: 288.3 MB / 303.2 MB, free: 8.137 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.001126/0.001127, allocations: 179 kB / 371.8 MB, free: 10.3 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.874/1.874, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009236/0.0009236, allocations: 100.4 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004325, allocations: 18.45 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2435, allocations: 115.3 MB / 0.9795 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8177/1.061, allocations: 139 MB / 1.115 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/1.062, allocations: 74.73 kB / 1.115 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01702/1.079, allocations: 6.421 MB / 1.122 GB, free: 31.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.398e-06/1.079, allocations: 0 / 1.122 GB, free: 31.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.593e-05/1.079, allocations: 11.44 kB / 1.122 GB, free: 31.73 MB / 0.698 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.001234/1.08, allocations: 0.6937 MB / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.08, allocations: 7.688 kB / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.071e-05/1.08, allocations: 54.34 kB / 1.122 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005606/1.081, allocations: 364.7 kB / 1.123 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/1.081, allocations: 28.84 kB / 1.123 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/1.081, allocations: 40.72 kB / 1.123 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/1.082, allocations: 396.4 kB / 1.123 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/1.082, allocations: 2.438 kB / 1.123 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/1.082, allocations: 18.47 kB / 1.123 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/1.082, allocations: 11.72 kB / 1.123 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005471/1.082, allocations: 292 kB / 1.123 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/1.084, allocations: 1.293 MB / 1.125 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/1.085, allocations: 302.8 kB / 1.125 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/1.085, allocations: 3.672 kB / 1.125 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/1.085, allocations: 186.6 kB / 1.125 GB, free: 30.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/1.085, allocations: 3.969 kB / 1.125 GB, free: 30.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0006742/1.086, allocations: 369.1 kB / 1.125 GB, free: 30.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.086, allocations: 132.4 kB / 1.126 GB, free: 30 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/1.086, allocations: 361.6 kB / 1.126 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/1.086, allocations: 33.45 kB / 1.126 GB, free: 29.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/1.086, allocations: 228.6 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/1.086, allocations: 86.72 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/1.086, allocations: 3.5 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.087, allocations: 355.6 kB / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/1.087, allocations: 105.4 kB / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/1.087, allocations: 187 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/1.087, allocations: 116.1 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.087, allocations: 3.875 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005336/1.088, allocations: 346.1 kB / 1.127 GB, free: 29.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/1.088, allocations: 0.5303 MB / 1.128 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.088, allocations: 0 / 1.128 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.088, allocations: 3.875 kB / 1.128 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/1.088, allocations: 71.86 kB / 1.128 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.088, allocations: 7.812 kB / 1.128 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/1.089, allocations: 63.61 kB / 1.128 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/1.089, allocations: 7.75 kB / 1.128 GB, free: 28.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/1.089, allocations: 3.812 kB / 1.128 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003001/1.089, allocations: 230.4 kB / 1.128 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/1.089, allocations: 0 / 1.128 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.067e-06/1.089, allocations: 3.688 kB / 1.128 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/1.089, allocations: 51.41 kB / 1.128 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/1.089, allocations: 3.844 kB / 1.128 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/1.089, allocations: 42.08 kB / 1.128 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/1.089, allocations: 7.719 kB / 1.128 GB, free: 28.57 MB / 0.698 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.0002242/1.09, allocations: 232.8 kB / 1.129 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/1.09, allocations: 46.73 kB / 1.129 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.72e-05/1.09, allocations: 45.11 kB / 1.129 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/1.09, allocations: 7.781 kB / 1.129 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.09, allocations: 3.938 kB / 1.129 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-05/1.09, allocations: 2.203 kB / 1.129 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.091, allocations: 0.9517 MB / 1.13 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.091, allocations: 7.906 kB / 1.13 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/1.091, allocations: 47.38 kB / 1.13 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/1.091, allocations: 3.844 kB / 1.13 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/1.091, allocations: 7.531 kB / 1.13 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/1.091, allocations: 7.75 kB / 1.13 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.091, allocations: 3.875 kB / 1.13 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/1.092, allocations: 0.7366 MB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.559e-05/1.092, allocations: 128 kB / 1.13 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/1.092, allocations: 7 kB / 1.13 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/1.092, allocations: 27.95 kB / 1.131 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/1.092, allocations: 17.19 kB / 1.131 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/1.092, allocations: 17.72 kB / 1.131 GB, free: 27.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000289/1.093, allocations: 290.3 kB / 1.131 GB, free: 27.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/1.093, allocations: 0 / 1.131 GB, free: 27.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005061/1.093, allocations: 122 kB / 1.131 GB, free: 27.16 MB / 0.698 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.0002329/1.094, allocations: 123 kB / 1.131 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006856/1.094, allocations: 380.5 kB / 1.131 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.094, allocations: 7.75 kB / 1.131 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/1.094, allocations: 127.4 kB / 1.132 GB, free: 27.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/1.095, allocations: 74.47 kB / 1.132 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/1.097, allocations: 0.8522 MB / 1.132 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/1.097, allocations: 0.816 MB / 1.133 GB, free: 25.78 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001757/1.097, allocations: 51.97 kB / 1.133 GB, free: 25.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/1.097, allocations: 35.2 kB / 1.133 GB, free: 25.76 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/1.097, allocations: 0 / 1.133 GB, free: 25.76 MB / 0.698 GB Notification: Performance of Templates: time 0.007102/1.104, allocations: 3.19 MB / 1.136 GB, free: 24.33 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)