Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 187 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 83.75 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004099, allocations: 12.19 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2704, allocations: 106.4 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.4562, allocations: 134 MB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.4565, allocations: 79.95 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02097/0.4775, allocations: 8.033 MB / 1.039 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.825e-06/0.4775, allocations: 3.938 kB / 1.039 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.065e-05/0.4776, allocations: 16 kB / 1.039 GB, free: 1.457 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001589/0.4792, allocations: 0.713 MB / 1.04 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.4793, allocations: 12.03 kB / 1.04 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/0.4794, allocations: 74.53 kB / 1.04 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.4796, allocations: 51.34 kB / 1.04 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000818/0.4805, allocations: 391.5 kB / 1.04 GB, free: 128 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.4805, allocations: 29 kB / 1.04 GB, free: 100 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.4806, allocations: 36 kB / 1.04 GB, free: 64 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008245/0.4814, allocations: 430.4 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4814, allocations: 0 / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.4815, allocations: 19.94 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.4815, allocations: 12 kB / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.4822, allocations: 307.7 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.4845, allocations: 1.634 MB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009426/0.4854, allocations: 366.6 kB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.4855, allocations: 4 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.4855, allocations: 38.55 kB / 1.043 GB, free: 13.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.964e-06/0.4855, allocations: 0 / 1.043 GB, free: 13.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.0008117/0.4863, allocations: 384.3 kB / 1.043 GB, free: 12.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.4864, allocations: 106.8 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.4869, allocations: 365 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.487, allocations: 33.7 kB / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.4872, allocations: 236.1 kB / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.772e-05/0.4872, allocations: 98.67 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.4873, allocations: 8 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4874, allocations: 358.7 kB / 1.044 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.4877, allocations: 108 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.488, allocations: 192.7 kB / 1.045 GB, free: 11.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.4882, allocations: 135.9 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4883, allocations: 0 / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006541/0.4889, allocations: 367.1 kB / 1.045 GB, free: 10.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002576/0.4892, allocations: 0.5333 MB / 1.046 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4892, allocations: 3.984 kB / 1.046 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.4892, allocations: 4 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.4895, allocations: 63.91 kB / 1.046 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.4896, allocations: 7.953 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.4898, allocations: 55.66 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.4899, allocations: 12 kB / 1.046 GB, free: 10.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.4899, allocations: 4 kB / 1.046 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000398/0.4903, allocations: 247.3 kB / 1.046 GB, free: 9.766 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.4903, allocations: 0 / 1.046 GB, free: 9.766 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.4903, allocations: 4 kB / 1.046 GB, free: 9.762 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.4905, allocations: 55.91 kB / 1.046 GB, free: 9.707 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4905, allocations: 4 kB / 1.046 GB, free: 9.703 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.4907, allocations: 47.8 kB / 1.046 GB, free: 9.656 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.4908, allocations: 12 kB / 1.046 GB, free: 9.645 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 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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.0002996/0.4911, allocations: 233.1 kB / 1.046 GB, free: 9.406 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-05/0.4912, allocations: 47.39 kB / 1.047 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.4913, allocations: 47.73 kB / 1.047 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4913, allocations: 4 kB / 1.047 GB, free: 9.312 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4913, allocations: 0 / 1.047 GB, free: 9.312 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4913, allocations: 7.938 kB / 1.047 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.4929, allocations: 0.9023 MB / 1.047 GB, free: 8.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.4929, allocations: 3.984 kB / 1.047 GB, free: 8.316 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.4932, allocations: 64.19 kB / 1.048 GB, free: 8.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.4932, allocations: 4 kB / 1.048 GB, free: 8.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.4932, allocations: 8 kB / 1.048 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.4932, allocations: 4 kB / 1.048 GB, free: 8.238 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.4932, allocations: 4 kB / 1.048 GB, free: 8.234 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.4944, allocations: 0.6779 MB / 1.048 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.4945, allocations: 124.6 kB / 1.048 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.4946, allocations: 8 kB / 1.048 GB, free: 7.309 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.4948, allocations: 35.97 kB / 1.048 GB, free: 7.273 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.4949, allocations: 19.92 kB / 1.048 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.4949, allocations: 8 kB / 1.048 GB, free: 7.246 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004212/0.4953, allocations: 295.1 kB / 1.049 GB, free: 6.957 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.12e-07/0.4954, allocations: 4 kB / 1.049 GB, free: 6.953 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005532/0.4959, allocations: 127.5 kB / 1.049 GB, free: 6.828 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.001814/0.4977, allocations: 1.858 MB / 1.051 GB, free: 4.879 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008096/0.4986, allocations: 407.8 kB / 1.051 GB, free: 4.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.4986, allocations: 8.438 kB / 1.051 GB, free: 4.473 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.4988, allocations: 123.8 kB / 1.051 GB, free: 4.352 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.4995, allocations: 86.06 kB / 1.051 GB, free: 4.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/0.5043, allocations: 3.134 MB / 1.054 GB, free: 1.031 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.5049, allocations: 0.8274 MB / 1.055 GB, free: 184 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002332/0.5051, allocations: 51.48 kB / 1.055 GB, free: 128 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5021/1.007, allocations: 152.5 kB / 1.055 GB, free: 148.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.913e-06/1.007, allocations: 3.594 kB / 1.055 GB, free: 148.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/1.033, allocations: 7.423 MB / 1.063 GB, free: 148.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/1.034, allocations: 208.8 kB / 1.063 GB, free: 148.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/3.166, allocations: 0 / 1.063 GB, free: 148.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)