Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 106.8 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 193.3 kB / 17.34 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7547/0.7547, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 66.97 kB / 0.5576 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1539, allocations: 76.18 MB / 0.632 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005694/0.1597, allocations: 4.316 MB / 0.6363 GB, free: 76 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.1633, allocations: 1.582 MB / 0.6378 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006733/0.164, allocations: 35.81 kB / 0.6378 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.1645, allocations: 166.2 kB / 0.638 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006946/0.1652, allocations: 247.9 kB / 0.6382 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.1665, allocations: 0.6689 MB / 0.6389 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.1677, allocations: 1.226 MB / 0.6401 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007106/0.1684, allocations: 0.4923 MB / 0.6406 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005708/0.169, allocations: 481.9 kB / 0.641 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004725/0.1695, allocations: 457.4 kB / 0.6415 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.1697, allocations: 104 kB / 0.6416 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1698, allocations: 104 kB / 0.6417 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.17, allocations: 235.1 kB / 0.6419 GB, free: 10.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.1704, allocations: 489 kB / 0.6423 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1715, allocations: 1.16 MB / 0.6435 GB, free: 8.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1715, allocations: 0 / 0.6435 GB, free: 8.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1715, allocations: 8 kB / 0.6435 GB, free: 8.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1715, allocations: 3.938 kB / 0.6435 GB, free: 8.625 MB / 494.1 MB 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.002308/0.1738, allocations: 1.395 MB / 0.6449 GB, free: 7.176 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1739, allocations: 8.031 kB / 0.6449 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.1741, allocations: 119.5 kB / 0.645 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.1753, allocations: 0.7626 MB / 0.6457 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-05/0.1754, allocations: 80.27 kB / 0.6458 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.1755, allocations: 72.31 kB / 0.6459 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.1768, allocations: 0.7368 MB / 0.6466 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1768, allocations: 4 kB / 0.6466 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.1769, allocations: 28 kB / 0.6466 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.1769, allocations: 16 kB / 0.6466 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.178, allocations: 0.5165 MB / 0.6471 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.1811, allocations: 2.247 MB / 0.6493 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.1826, allocations: 0.6262 MB / 0.6499 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/0.1831, allocations: 281.8 kB / 0.6502 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.1831, allocations: 16.55 kB / 0.6502 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000641/0.1838, allocations: 319.1 kB / 0.6505 GB, free: 1.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 2.164e-06/0.1838, allocations: 0 / 0.6505 GB, free: 1.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=60): time 0.001594/0.1854, allocations: 0.7517 MB / 0.6513 GB, free: 440 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.1855, allocations: 89.61 kB / 0.6513 GB, free: 332 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/0.1863, allocations: 0.7555 MB / 0.6521 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.1864, allocations: 37.7 kB / 0.6521 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.1867, allocations: 440.5 kB / 0.6525 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.1869, allocations: 205 kB / 0.6527 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.187, allocations: 114.2 kB / 0.6528 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1872, allocations: 330 kB / 0.6532 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.1876, allocations: 203.4 kB / 0.6534 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.1882, allocations: 304.5 kB / 0.6536 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009483/0.1891, allocations: 0.5075 MB / 0.6541 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1891, allocations: 0 / 0.6541 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001223/0.1904, allocations: 0.6579 MB / 0.6548 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1904, allocations: 7.984 kB / 0.6548 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.1904, allocations: 4 kB / 0.6548 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1904, allocations: 4 kB / 0.6548 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/0.1911, allocations: 143.8 kB / 0.6549 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.1911, allocations: 8.125 kB / 0.6549 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.1915, allocations: 71.34 kB / 0.655 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.1916, allocations: 20 kB / 0.655 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006163/0.1922, allocations: 357.4 kB / 0.6554 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004739/0.1927, allocations: 300.3 kB / 0.6557 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008984/0.1936, allocations: 495.7 kB / 0.6561 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.1936, allocations: 4 kB / 0.6561 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001094/0.1947, allocations: 0.6266 MB / 0.6567 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1947, allocations: 13.39 kB / 0.6568 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1947, allocations: 256 / 0.6568 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/0.1947, allocations: 12 kB / 0.6568 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.1953, allocations: 139.8 kB / 0.6569 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1954, allocations: 8 kB / 0.6569 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.1958, allocations: 59.39 kB / 0.657 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.1958, allocations: 27.98 kB / 0.657 GB, free: 10.35 MB / 0.4981 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.196, allocations: 208.1 kB / 0.6572 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.1961, allocations: 98.78 kB / 0.6573 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.1963, allocations: 105.2 kB / 0.6574 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.1963, allocations: 8 kB / 0.6574 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1964, allocations: 3.938 kB / 0.6574 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1964, allocations: 3.984 kB / 0.6574 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.1985, allocations: 1.431 MB / 0.6588 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1986, allocations: 0 / 0.6588 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.1991, allocations: 111.8 kB / 0.6589 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.1991, allocations: 0 / 0.6589 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.1992, allocations: 15.98 kB / 0.6589 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1992, allocations: 7.938 kB / 0.6589 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1992, allocations: 0 / 0.6589 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.2009, allocations: 0.9595 MB / 0.6599 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.2012, allocations: 227.7 kB / 0.6601 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.899e-05/0.2013, allocations: 12 kB / 0.6601 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.2017, allocations: 35.91 kB / 0.6601 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.2018, allocations: 32.61 kB / 0.6602 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.2018, allocations: 23.97 kB / 0.6602 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006089/0.2025, allocations: 0.5185 MB / 0.6607 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2025, allocations: 0 / 0.6607 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000656/0.2031, allocations: 271.1 kB / 0.6609 GB, free: 6.203 MB / 0.4981 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 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001525/0.2033, allocations: 121.4 kB / 0.6611 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.2049, allocations: 0.7919 MB / 0.6618 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2049, allocations: 0 / 0.6618 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005035/0.2054, allocations: 271.1 kB / 0.6621 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.2065, allocations: 260.4 kB / 0.6623 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.2089, allocations: 1.551 MB / 0.6639 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.2094, allocations: 0.9898 MB / 0.6648 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004679/0.2099, allocations: 122.8 kB / 0.6649 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.2101, allocations: 59.44 kB / 0.665 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.2101, allocations: 0 / 0.665 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of Templates: time 0.01736/0.2275, allocations: 9.373 MB / 0.6742 GB, free: 8.723 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)