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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.891/1.891, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001758/0.001758, allocations: 181 kB / 377.1 MB, free: 1.551 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.833/1.833, allocations: 205.4 MB / 0.6366 GB, free: 8.68 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.001183/0.001183, allocations: 103.4 kB / 0.7509 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004418, allocations: 16 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3073, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7202/1.028, allocations: 139.9 MB / 1.125 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/1.028, allocations: 76.38 kB / 1.125 GB, free: 34.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01546/1.043, allocations: 6.427 MB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.054e-06/1.043, allocations: 0 / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.179e-05/1.043, allocations: 12 kB / 1.131 GB, free: 30.48 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.001003/1.044, allocations: 0.6982 MB / 1.132 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.044, allocations: 16.02 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.442e-05/1.045, allocations: 75.84 kB / 1.132 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.423e-05/1.045, allocations: 54.77 kB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/1.045, allocations: 358 kB / 1.133 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/1.045, allocations: 32.44 kB / 1.133 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/1.045, allocations: 40 kB / 1.133 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/1.046, allocations: 396.7 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/1.046, allocations: 4 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/1.046, allocations: 16.61 kB / 1.133 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.046, allocations: 8 kB / 1.133 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/1.047, allocations: 293.1 kB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/1.048, allocations: 1.291 MB / 1.135 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006285/1.049, allocations: 305.5 kB / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/1.049, allocations: 4 kB / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/1.049, allocations: 185.1 kB / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 3.026e-06/1.049, allocations: 0 / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0007891/1.05, allocations: 372.8 kB / 1.135 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/1.05, allocations: 140.5 kB / 1.136 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/1.051, allocations: 355.2 kB / 1.136 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/1.051, allocations: 34.5 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/1.051, allocations: 233.9 kB / 1.136 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/1.051, allocations: 82.14 kB / 1.136 GB, free: 25.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/1.051, allocations: 8.562 kB / 1.136 GB, free: 25.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.051, allocations: 347.7 kB / 1.137 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/1.051, allocations: 106 kB / 1.137 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/1.052, allocations: 191 kB / 1.137 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/1.052, allocations: 122.7 kB / 1.137 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.052, allocations: 0.8438 kB / 1.137 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005556/1.052, allocations: 346 kB / 1.137 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/1.053, allocations: 0.537 MB / 1.138 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.053, allocations: 0 / 1.138 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.053, allocations: 4 kB / 1.138 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/1.053, allocations: 65.91 kB / 1.138 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.053, allocations: 8.562 kB / 1.138 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/1.053, allocations: 58.06 kB / 1.138 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/1.053, allocations: 12 kB / 1.138 GB, free: 24.13 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/1.053, allocations: 5.031 kB / 1.138 GB, free: 24.13 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002818/1.054, allocations: 224.4 kB / 1.138 GB, free: 23.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/1.054, allocations: 0.5 kB / 1.138 GB, free: 23.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/1.054, allocations: 4 kB / 1.138 GB, free: 23.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/1.054, allocations: 49 kB / 1.138 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/1.054, allocations: 4.844 kB / 1.138 GB, free: 23.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/1.054, allocations: 43.45 kB / 1.138 GB, free: 23.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/1.054, allocations: 12 kB / 1.138 GB, free: 23.82 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.00018/1.054, allocations: 238.5 kB / 1.139 GB, free: 23.58 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/1.054, allocations: 39.53 kB / 1.139 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.911e-05/1.054, allocations: 44.91 kB / 1.139 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.054, allocations: 4.938 kB / 1.139 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.054, allocations: 1.172 kB / 1.139 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/1.054, allocations: 2.625 kB / 1.139 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/1.056, allocations: 0.9573 MB / 1.14 GB, free: 22.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.056, allocations: 1.594 kB / 1.14 GB, free: 22.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/1.056, allocations: 48.3 kB / 1.14 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/1.056, allocations: 7.938 kB / 1.14 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/1.056, allocations: 9.031 kB / 1.14 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/1.056, allocations: 5.312 kB / 1.14 GB, free: 22.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.056, allocations: 4.797 kB / 1.14 GB, free: 22.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007781/1.057, allocations: 0.7377 MB / 1.14 GB, free: 21.72 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/1.057, allocations: 124.6 kB / 1.141 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/1.057, allocations: 9.219 kB / 1.141 GB, free: 21.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/1.057, allocations: 25.34 kB / 1.141 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/1.057, allocations: 27.31 kB / 1.141 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/1.057, allocations: 16.61 kB / 1.141 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002893/1.057, allocations: 283.6 kB / 1.141 GB, free: 21.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.057, allocations: 3.938 kB / 1.141 GB, free: 21.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005311/1.058, allocations: 120.2 kB / 1.141 GB, free: 21.15 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.001162/1.059, allocations: 1.904 MB / 1.143 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000753/1.06, allocations: 389.5 kB / 1.143 GB, free: 18.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.06, allocations: 0 / 1.143 GB, free: 18.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/1.06, allocations: 128.9 kB / 1.143 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/1.061, allocations: 71.28 kB / 1.143 GB, free: 18.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/1.064, allocations: 3.051 MB / 1.146 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/1.065, allocations: 0.8134 MB / 1.147 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002168/1.065, allocations: 49.03 kB / 1.147 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/1.065, allocations: 137.1 kB / 1.147 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of SimCode: time 7.51e-07/1.065, allocations: 0 / 1.147 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/1.087, allocations: 6.845 MB / 1.154 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.087, allocations: 200.1 kB / 1.154 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/3.326, allocations: 0 / 1.154 GB, free: 10.66 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)