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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.779/1.779, allocations: 285.4 MB / 298 MB, free: 5.98 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.001042/0.001042, allocations: 184.8 kB / 366.4 MB, free: 2.066 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.829/1.829, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008598/0.0008598, allocations: 101.6 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.912e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8272/0.8272, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2112/1.039, allocations: 138.9 MB / 1.107 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.039, allocations: 71.97 kB / 1.107 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01749/1.056, allocations: 6.417 MB / 1.113 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.256e-06/1.056, allocations: 3.938 kB / 1.113 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.617e-05/1.056, allocations: 8 kB / 1.113 GB, free: 6.48 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.001022/1.057, allocations: 0.6307 MB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/1.058, allocations: 8.031 kB / 1.114 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/1.058, allocations: 74.53 kB / 1.114 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/1.058, allocations: 51.38 kB / 1.114 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006886/1.058, allocations: 370.8 kB / 1.114 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/1.059, allocations: 28.78 kB / 1.114 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/1.059, allocations: 36 kB / 1.114 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/1.059, allocations: 375.1 kB / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/1.059, allocations: 3.938 kB / 1.115 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/1.059, allocations: 16 kB / 1.115 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/1.059, allocations: 8 kB / 1.115 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/1.06, allocations: 231.1 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/1.062, allocations: 1.284 MB / 1.116 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/1.062, allocations: 223 kB / 1.116 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/1.062, allocations: 112.8 kB / 1.116 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/1.062, allocations: 3.984 kB / 1.116 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/1.063, allocations: 159.5 kB / 1.116 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/1.063, allocations: 0 / 1.116 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0004417/1.063, allocations: 229.1 kB / 1.117 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/1.063, allocations: 140.5 kB / 1.117 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/1.064, allocations: 350.8 kB / 1.117 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/1.064, allocations: 33.7 kB / 1.117 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/1.064, allocations: 228 kB / 1.117 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/1.064, allocations: 86.73 kB / 1.118 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/1.064, allocations: 4 kB / 1.118 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.064, allocations: 354.8 kB / 1.118 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/1.064, allocations: 84.56 kB / 1.118 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/1.065, allocations: 157.6 kB / 1.118 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/1.065, allocations: 93.06 kB / 1.118 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.065, allocations: 0 / 1.118 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004574/1.065, allocations: 290.3 kB / 1.118 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002557/1.065, allocations: 0.5301 MB / 1.119 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/1.066, allocations: 0 / 1.119 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/1.066, allocations: 4 kB / 1.119 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/1.066, allocations: 63.91 kB / 1.119 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.066, allocations: 7.953 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/1.066, allocations: 55.78 kB / 1.119 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/1.066, allocations: 15.94 kB / 1.119 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/1.066, allocations: 9.094 kB / 1.119 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003482/1.067, allocations: 222.2 kB / 1.119 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-06/1.067, allocations: 0 / 1.119 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/1.067, allocations: 4 kB / 1.119 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/1.067, allocations: 51.92 kB / 1.119 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/1.067, allocations: 10.64 kB / 1.119 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/1.067, allocations: 39.62 kB / 1.119 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/1.067, allocations: 16.12 kB / 1.119 GB, free: 15.55 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 0.000116/1.067, allocations: 126.6 kB / 1.12 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/1.067, allocations: 35.53 kB / 1.12 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/1.067, allocations: 43.39 kB / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.067, allocations: 4 kB / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/1.067, allocations: 0 / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/1.067, allocations: 3.984 kB / 1.12 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/1.068, allocations: 0.8996 MB / 1.121 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.068, allocations: 6.984 kB / 1.121 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/1.069, allocations: 56.16 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.069, allocations: 4 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/1.069, allocations: 8 kB / 1.121 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.069, allocations: 7.938 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.069, allocations: 4 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/1.07, allocations: 0.6556 MB / 1.121 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/1.07, allocations: 120.6 kB / 1.121 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/1.07, allocations: 12 kB / 1.121 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/1.07, allocations: 31.97 kB / 1.121 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/1.07, allocations: 15.98 kB / 1.121 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/1.07, allocations: 11.95 kB / 1.121 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003233/1.07, allocations: 283.1 kB / 1.122 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.21e-07/1.07, allocations: 0 / 1.122 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005077/1.071, allocations: 123.6 kB / 1.122 GB, free: 12.91 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.001207/1.072, allocations: 1.832 MB / 1.124 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005571/1.073, allocations: 336.7 kB / 1.124 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.073, allocations: 0 / 1.124 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/1.073, allocations: 104.5 kB / 1.124 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/1.073, allocations: 72.98 kB / 1.124 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/1.075, allocations: 0.6289 MB / 1.125 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/1.075, allocations: 0.8199 MB / 1.126 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002467/1.075, allocations: 61.81 kB / 1.126 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/1.075, allocations: 139.4 kB / 1.126 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.075, allocations: 0 / 1.126 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/1.094, allocations: 7.212 MB / 1.133 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/1.095, allocations: 191.9 kB / 1.133 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/3.246, allocations: 2.344 kB / 1.133 GB, free: 1.582 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)