Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",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.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.887 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.001063/0.001063, allocations: 172.9 kB / 316.3 MB, free: 3.242 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.369/1.369, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0007525/0.0007526, allocations: 93.59 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.631e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1787, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6252/0.804, allocations: 140.4 MB / 1.022 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.8042, allocations: 79.2 kB / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05318/0.8574, allocations: 19.73 MB / 1.042 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8575, allocations: 0 / 1.042 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001435/0.8576, allocations: 24 kB / 1.042 GB, free: 12.71 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002462/0.8601, allocations: 1.087 MB / 1.043 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.8602, allocations: 8.031 kB / 1.043 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.8606, allocations: 122.5 kB / 1.043 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.8623, allocations: 0.7271 MB / 1.044 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.8624, allocations: 63.69 kB / 1.044 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.8626, allocations: 47.94 kB / 1.044 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009797/0.8636, allocations: 446 kB / 1.044 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.8647, allocations: 0.6273 MB / 1.045 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.8648, allocations: 0 / 1.045 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.092e-05/0.8648, allocations: 4 kB / 1.045 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.8649, allocations: 16 kB / 1.045 GB, free: 9.965 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/0.8687, allocations: 2.215 MB / 1.047 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.8698, allocations: 0.562 MB / 1.048 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.8701, allocations: 204.4 kB / 1.048 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.957e-05/0.8702, allocations: 8.562 kB / 1.048 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005022/0.8707, allocations: 283.5 kB / 1.048 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=60): time 4.017e-06/0.8708, allocations: 4 kB / 1.048 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60): time 0.001007/0.8718, allocations: 0.495 MB / 1.049 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.554e-05/0.8719, allocations: 133.1 kB / 1.049 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.8727, allocations: 0.5539 MB / 1.049 GB, free: 6.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.41e-05/0.8728, allocations: 29.7 kB / 1.049 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.8732, allocations: 442.3 kB / 1.05 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.8733, allocations: 199.1 kB / 1.05 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.8734, allocations: 0 / 1.05 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8735, allocations: 328.2 kB / 1.05 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.8738, allocations: 171.7 kB / 1.05 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.8741, allocations: 283.6 kB / 1.051 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.8744, allocations: 197.6 kB / 1.051 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8745, allocations: 0 / 1.051 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009263/0.8754, allocations: 0.5608 MB / 1.051 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003544/0.8758, allocations: 0.8764 MB / 1.052 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.8758, allocations: 4 kB / 1.052 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.8758, allocations: 4 kB / 1.052 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008772/0.8767, allocations: 162.7 kB / 1.052 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.8767, allocations: 11.94 kB / 1.052 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/0.8773, allocations: 67.5 kB / 1.052 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.8773, allocations: 23.3 kB / 1.052 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.8774, allocations: 7.953 kB / 1.052 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007154/0.8781, allocations: 442.7 kB / 1.053 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8781, allocations: 7.938 kB / 1.053 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.273e-06/0.8781, allocations: 4 kB / 1.053 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007679/0.8789, allocations: 151.3 kB / 1.053 GB, free: 3.211 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.8789, allocations: 4 kB / 1.053 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.8794, allocations: 59.78 kB / 1.053 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.8795, allocations: 23.44 kB / 1.053 GB, free: 3.133 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001612/0.8797, allocations: 120.8 kB / 1.053 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007426/0.8804, allocations: 0.489 MB / 1.054 GB, free: 2.641 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.8806, allocations: 90.88 kB / 1.054 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.8808, allocations: 90.69 kB / 1.054 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.8808, allocations: 8 kB / 1.054 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.8809, allocations: 3.938 kB / 1.054 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.8809, allocations: 0 / 1.054 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.8829, allocations: 1.319 MB / 1.055 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.8829, allocations: 4 kB / 1.055 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.8835, allocations: 115.4 kB / 1.055 GB, free: 1.391 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.8835, allocations: 3.984 kB / 1.055 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.8836, allocations: 11.36 kB / 1.055 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.8836, allocations: 0 / 1.055 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.8836, allocations: 4 kB / 1.055 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.8848, allocations: 0.86 MB / 1.056 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.885, allocations: 226.3 kB / 1.056 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.8852, allocations: 4 kB / 1.056 GB, free: 0.5547 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.8857, allocations: 43.27 kB / 1.056 GB, free: 0.5156 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.8858, allocations: 39.88 kB / 1.056 GB, free: 492 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.8859, allocations: 15.38 kB / 1.056 GB, free: 480 kB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005291/0.8864, allocations: 440.1 kB / 1.057 GB, free: 160 kB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8864, allocations: 0 / 1.057 GB, free: 160 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008441/0.8873, allocations: 264.6 kB / 1.057 GB, free: 15.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001408/0.8887, allocations: 1.43 MB / 1.059 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.8899, allocations: 0.7387 MB / 1.059 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8899, allocations: 0 / 1.059 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.8902, allocations: 238.6 kB / 1.06 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.8913, allocations: 209.1 kB / 1.06 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.894, allocations: 1.273 MB / 1.061 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.8947, allocations: 1.014 MB / 1.062 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008439/0.8955, allocations: 169.3 kB / 1.062 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.896, allocations: 351.4 kB / 1.062 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/0.896, allocations: 0 / 1.062 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04337/0.9393, allocations: 16.78 MB / 1.079 GB, free: 10.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.9396, allocations: 160.7 kB / 1.079 GB, free: 10.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/3.279, allocations: 0 / 1.079 GB, free: 10.61 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)