Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.641/1.641, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001609/0.001609, allocations: 172.9 kB / 361.4 MB, free: 6.859 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.559/1.559, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0007902/0.0007907, allocations: 91.64 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.639e-05, allocations: 4 kB / 0.8519 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7276/0.7276, allocations: 115.3 MB / 0.9645 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.9203, allocations: 140.9 MB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.9207, allocations: 89.52 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02067/0.9414, allocations: 8.081 MB / 1.11 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9414, allocations: 0 / 1.11 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.978e-05/0.9415, allocations: 16 kB / 1.11 GB, free: 6.68 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001076/0.9425, allocations: 0.6545 MB / 1.111 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.9426, allocations: 8.031 kB / 1.111 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.9427, allocations: 56.38 kB / 1.111 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.9434, allocations: 372.8 kB / 1.111 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.9434, allocations: 12 kB / 1.111 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.9435, allocations: 27.91 kB / 1.111 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000469/0.944, allocations: 234.5 kB / 1.111 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.9445, allocations: 336.1 kB / 1.112 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.9446, allocations: 0 / 1.112 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.9446, allocations: 4 kB / 1.112 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.9446, allocations: 12 kB / 1.112 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.9465, allocations: 1.233 MB / 1.113 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.9472, allocations: 273.9 kB / 1.113 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.9474, allocations: 117.9 kB / 1.113 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.9474, allocations: 8.641 kB / 1.113 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.9477, allocations: 158.6 kB / 1.113 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.9477, allocations: 4 kB / 1.113 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.0004296/0.9481, allocations: 221.1 kB / 1.114 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.9482, allocations: 132.5 kB / 1.114 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.9485, allocations: 286.4 kB / 1.114 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.9486, allocations: 25.7 kB / 1.114 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.9487, allocations: 255.2 kB / 1.114 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.9488, allocations: 86.66 kB / 1.114 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.9488, allocations: 0 / 1.114 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.949, allocations: 350.8 kB / 1.115 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.9491, allocations: 81.25 kB / 1.115 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.9493, allocations: 165.5 kB / 1.115 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.9494, allocations: 93.77 kB / 1.115 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9494, allocations: 0 / 1.115 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004295/0.9499, allocations: 283.6 kB / 1.115 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002326/0.9501, allocations: 0.5215 MB / 1.116 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9501, allocations: 4 kB / 1.116 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.9502, allocations: 4 kB / 1.116 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.9505, allocations: 68.78 kB / 1.116 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.9505, allocations: 19.88 kB / 1.116 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.9507, allocations: 43.67 kB / 1.116 GB, free: 304 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.9508, allocations: 8 kB / 1.116 GB, free: 296 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.9508, allocations: 4.938 kB / 1.116 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003287/0.9511, allocations: 203.3 kB / 1.116 GB, free: 92 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-06/0.9511, allocations: 4.125 kB / 1.116 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.01e-06/0.9511, allocations: 4 kB / 1.116 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.9514, allocations: 61.41 kB / 1.116 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.9514, allocations: 7.938 kB / 1.116 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.9516, allocations: 27.77 kB / 1.116 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.9516, allocations: 8 kB / 1.116 GB, free: 15.98 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 (37): * Single equations (assignments): 37 * 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.0001047/0.9517, allocations: 112.9 kB / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003638/0.9521, allocations: 221.7 kB / 1.117 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.9521, allocations: 35.58 kB / 1.117 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.9522, allocations: 35.06 kB / 1.117 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.9522, allocations: 7.938 kB / 1.117 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9523, allocations: 0 / 1.117 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.9523, allocations: 7.984 kB / 1.117 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.9535, allocations: 0.8736 MB / 1.118 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.9535, allocations: 4 kB / 1.118 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.9538, allocations: 56.19 kB / 1.118 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.9538, allocations: 9.219 kB / 1.118 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.9538, allocations: 7.984 kB / 1.118 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.9538, allocations: 4 kB / 1.118 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.9538, allocations: 9.5 kB / 1.118 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/0.9546, allocations: 0.6718 MB / 1.118 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.9547, allocations: 116.6 kB / 1.118 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.9548, allocations: 11.94 kB / 1.118 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.955, allocations: 27.97 kB / 1.118 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.9551, allocations: 19.94 kB / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.9551, allocations: 12 kB / 1.119 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002302/0.9553, allocations: 220.6 kB / 1.119 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9553, allocations: 0 / 1.119 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005822/0.9559, allocations: 127.4 kB / 1.119 GB, free: 13.21 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.001221/0.9572, allocations: 1.925 MB / 1.121 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006048/0.9578, allocations: 338.1 kB / 1.121 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.9578, allocations: 4.062 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.958, allocations: 103.9 kB / 1.121 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.9585, allocations: 76.61 kB / 1.121 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.9601, allocations: 0.648 MB / 1.122 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.9605, allocations: 0.8274 MB / 1.123 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002767/0.9608, allocations: 61.25 kB / 1.123 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.961, allocations: 149.6 kB / 1.123 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.961, allocations: 0 / 1.123 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.991, allocations: 6.626 MB / 1.129 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.9913, allocations: 174.7 kB / 1.129 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/3.143, allocations: 0 / 1.129 GB, free: 2.246 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)