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.LimPID.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.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",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.676/1.676, allocations: 249.3 MB / 261.9 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001203/0.001204, allocations: 186.6 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.2 MB / 0.572 GB, free: 10.73 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.0008352/0.000835, allocations: 97.39 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.478e-05/5.513e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2558, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8328/1.089, allocations: 134.5 MB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/1.089, allocations: 77.02 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0567/1.146, allocations: 21.85 MB / 1.045 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.424e-06/1.146, allocations: 0 / 1.045 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.142e-05/1.146, allocations: 32 kB / 1.045 GB, free: 13.52 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002403/1.148, allocations: 1.307 MB / 1.046 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/1.148, allocations: 12.03 kB / 1.046 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/1.149, allocations: 158 kB / 1.046 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/1.149, allocations: 154.2 kB / 1.046 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/1.15, allocations: 0.7753 MB / 1.047 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.928e-05/1.15, allocations: 80.27 kB / 1.047 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/1.151, allocations: 105.9 kB / 1.047 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/1.152, allocations: 1.001 MB / 1.048 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/1.152, allocations: 3.938 kB / 1.048 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/1.152, allocations: 51.8 kB / 1.048 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/1.152, allocations: 24 kB / 1.048 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/1.154, allocations: 0.7 MB / 1.049 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0059/1.16, allocations: 3.944 MB / 1.053 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/1.161, allocations: 0.8842 MB / 1.054 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/1.162, allocations: 379.8 kB / 1.054 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-05/1.162, allocations: 12.72 kB / 1.054 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000686/1.163, allocations: 372 kB / 1.054 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 4.188e-06/1.163, allocations: 0 / 1.054 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.00126/1.164, allocations: 0.664 MB / 1.055 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/1.164, allocations: 222.4 kB / 1.055 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009672/1.165, allocations: 0.7616 MB / 1.056 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/1.165, allocations: 40.95 kB / 1.056 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/1.166, allocations: 0.5365 MB / 1.057 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/1.166, allocations: 300.3 kB / 1.057 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/1.166, allocations: 21.5 kB / 1.057 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.166, allocations: 344.1 kB / 1.057 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/1.167, allocations: 248.8 kB / 1.057 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/1.167, allocations: 411.4 kB / 1.058 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/1.168, allocations: 290.2 kB / 1.058 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/1.168, allocations: 4 kB / 1.058 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001192/1.169, allocations: 0.7916 MB / 1.059 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/1.169, allocations: 455.5 kB / 1.059 GB, free: 1.543 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.169, allocations: 0 / 1.059 GB, free: 1.543 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/1.169, allocations: 8 kB / 1.059 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008651/1.17, allocations: 213.9 kB / 1.059 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/1.17, allocations: 4 kB / 1.06 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006635/1.171, allocations: 167 kB / 1.06 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/1.171, allocations: 27.36 kB / 1.06 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/1.171, allocations: 8 kB / 1.06 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009959/1.172, allocations: 0.6349 MB / 1.06 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.172, allocations: 3.953 kB / 1.06 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/1.172, allocations: 8 kB / 1.06 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/1.172, allocations: 166.7 kB / 1.06 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.172, allocations: 7.938 kB / 1.06 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/1.173, allocations: 123.9 kB / 1.061 GB, free: 456 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/1.173, allocations: 27.75 kB / 1.061 GB, free: 436 kB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0002102/1.173, allocations: 149.9 kB / 1.061 GB, free: 308 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/1.173, allocations: 118.4 kB / 1.061 GB, free: 192 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/1.174, allocations: 126.1 kB / 1.061 GB, free: 124 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/1.174, allocations: 8 kB / 1.061 GB, free: 116 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.174, allocations: 0 / 1.061 GB, free: 116 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/1.174, allocations: 3.984 kB / 1.061 GB, free: 112 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/1.175, allocations: 0.9979 MB / 1.062 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/1.175, allocations: 3.938 kB / 1.062 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000838/1.176, allocations: 187.1 kB / 1.062 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/1.176, allocations: 4 kB / 1.062 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/1.176, allocations: 14.25 kB / 1.062 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/1.176, allocations: 7.953 kB / 1.062 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.176, allocations: 0 / 1.062 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/1.177, allocations: 1.068 MB / 1.063 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/1.178, allocations: 189.9 kB / 1.063 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.178, allocations: 24.92 kB / 1.063 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000506/1.178, allocations: 86.12 kB / 1.064 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.178, allocations: 62.66 kB / 1.064 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/1.178, allocations: 23.23 kB / 1.064 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008057/1.179, allocations: 0.5916 MB / 1.064 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/1.179, allocations: 0 / 1.064 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008679/1.18, allocations: 384.5 kB / 1.065 GB, free: 13.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00197/1.182, allocations: 1.653 MB / 1.066 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001717/1.184, allocations: 1.029 MB / 1.067 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.184, allocations: 4.5 kB / 1.067 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004679/1.184, allocations: 331.6 kB / 1.068 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/1.185, allocations: 233.3 kB / 1.068 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/1.188, allocations: 1.6 MB / 1.069 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/1.189, allocations: 1.107 MB / 1.07 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008304/1.19, allocations: 184.5 kB / 1.071 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/1.19, allocations: 457.1 kB / 1.071 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/1.19, allocations: 4 kB / 1.071 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/1.235, allocations: 21.34 MB / 1.092 GB, free: 2.301 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/1.235, allocations: 173.9 kB / 1.092 GB, free: 2.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/3.866, allocations: 0 / 1.092 GB, free: 2.07 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)