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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4532/0.4532, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 349.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 113.7 kB / 420 MB, free: 8.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 55.92 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3321, allocations: 70.06 MB / 0.5575 GB, free: 44.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004827/0.3369, allocations: 4.307 MB / 0.5617 GB, free: 40.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.3394, allocations: 1.545 MB / 0.5632 GB, free: 39.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004858/0.3399, allocations: 35.81 kB / 0.5632 GB, free: 39.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.3403, allocations: 122.8 kB / 0.5634 GB, free: 39.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005355/0.3409, allocations: 180.8 kB / 0.5635 GB, free: 38.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.342, allocations: 0.6161 MB / 0.5641 GB, free: 38.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007558/0.3428, allocations: 1.156 MB / 0.5653 GB, free: 37.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.3433, allocations: 496.2 kB / 0.5657 GB, free: 36.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.3437, allocations: 401.8 kB / 0.5661 GB, free: 36.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.344, allocations: 425.4 kB / 0.5665 GB, free: 35.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.054e-05/0.3441, allocations: 52 kB / 0.5666 GB, free: 35.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.249e-05/0.3442, allocations: 51.94 kB / 0.5666 GB, free: 35.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3443, allocations: 187 kB / 0.5668 GB, free: 35.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.3446, allocations: 437 kB / 0.5672 GB, free: 35.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.3451, allocations: 1.057 MB / 0.5682 GB, free: 34.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3451, allocations: 0 / 0.5682 GB, free: 34.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3451, allocations: 0 / 0.5682 GB, free: 34.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3452, allocations: 3.938 kB / 0.5682 GB, free: 34.12 MB / 410.7 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.00204/0.3472, allocations: 1.395 MB / 0.5696 GB, free: 32.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3473, allocations: 8.031 kB / 0.5696 GB, free: 32.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.3474, allocations: 135.4 kB / 0.5697 GB, free: 32.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.3484, allocations: 0.7198 MB / 0.5704 GB, free: 31.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.3485, allocations: 80.27 kB / 0.5705 GB, free: 31.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.042e-05/0.3486, allocations: 76.28 kB / 0.5706 GB, free: 31.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.3497, allocations: 0.7329 MB / 0.5713 GB, free: 30.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.3497, allocations: 3.938 kB / 0.5713 GB, free: 30.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.733e-05/0.3498, allocations: 28 kB / 0.5713 GB, free: 30.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.3498, allocations: 16 kB / 0.5714 GB, free: 30.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009066/0.3507, allocations: 0.5165 MB / 0.5719 GB, free: 30.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.3534, allocations: 2.275 MB / 0.5741 GB, free: 27.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.3545, allocations: 0.6234 MB / 0.5747 GB, free: 27.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.355, allocations: 270.4 kB / 0.575 GB, free: 27.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.355, allocations: 8.562 kB / 0.575 GB, free: 27.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006152/0.3557, allocations: 323 kB / 0.5753 GB, free: 26.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/0.3557, allocations: 0 / 0.5753 GB, free: 26.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.001352/0.357, allocations: 0.7555 MB / 0.576 GB, free: 25.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.3571, allocations: 85.67 kB / 0.5761 GB, free: 25.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006508/0.3577, allocations: 0.7516 MB / 0.5768 GB, free: 25.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.3578, allocations: 45.69 kB / 0.5769 GB, free: 25.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.358, allocations: 432.5 kB / 0.5773 GB, free: 24.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.3581, allocations: 212.9 kB / 0.5775 GB, free: 24.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.3583, allocations: 106.3 kB / 0.5776 GB, free: 24.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.3583, allocations: 337.9 kB / 0.5779 GB, free: 23.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.3587, allocations: 207.4 kB / 0.5781 GB, free: 23.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.3592, allocations: 308.4 kB / 0.5784 GB, free: 23.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007743/0.3599, allocations: 0.4996 MB / 0.5789 GB, free: 22.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.36, allocations: 0 / 0.5789 GB, free: 22.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001014/0.361, allocations: 0.6617 MB / 0.5795 GB, free: 22.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.361, allocations: 4.25 kB / 0.5795 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.361, allocations: 8 kB / 0.5795 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.361, allocations: 7.938 kB / 0.5795 GB, free: 22.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.3616, allocations: 147.8 kB / 0.5797 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.3617, allocations: 7.938 kB / 0.5797 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.3621, allocations: 67.34 kB / 0.5798 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.3621, allocations: 20 kB / 0.5798 GB, free: 21.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005004/0.3626, allocations: 362.7 kB / 0.5801 GB, free: 21.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003643/0.363, allocations: 292.5 kB / 0.5804 GB, free: 21.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006859/0.3637, allocations: 499.6 kB / 0.5809 GB, free: 20.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.3637, allocations: 0 / 0.5809 GB, free: 20.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009093/0.3646, allocations: 0.6267 MB / 0.5815 GB, free: 20.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.3646, allocations: 9.875 kB / 0.5815 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.3646, allocations: 0 / 0.5815 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.3647, allocations: 8 kB / 0.5815 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.3652, allocations: 139.8 kB / 0.5816 GB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3652, allocations: 8 kB / 0.5817 GB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.3656, allocations: 55.7 kB / 0.5817 GB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.3656, allocations: 27.98 kB / 0.5817 GB, free: 19.88 MB / 410.7 MB 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.0001359/0.3658, allocations: 216.2 kB / 0.5819 GB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-05/0.3659, allocations: 98.77 kB / 0.582 GB, free: 19.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.366, allocations: 101.2 kB / 0.5821 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3661, allocations: 11.94 kB / 0.5821 GB, free: 19.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3661, allocations: 3.938 kB / 0.5821 GB, free: 19.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3661, allocations: 7.984 kB / 0.5822 GB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.3678, allocations: 1.431 MB / 0.5835 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3678, allocations: 0 / 0.5835 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/0.3683, allocations: 115.8 kB / 0.5837 GB, free: 17.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3683, allocations: 0 / 0.5837 GB, free: 17.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.3684, allocations: 15.98 kB / 0.5837 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3684, allocations: 4 kB / 0.5837 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3684, allocations: 0 / 0.5837 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007158/0.3755, allocations: 5.339 MB / 0.5889 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.3758, allocations: 223.7 kB / 0.5891 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.892e-05/0.3758, allocations: 12 kB / 0.5891 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.3763, allocations: 31.97 kB / 0.5891 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.3763, allocations: 36.52 kB / 0.5892 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.3764, allocations: 19.98 kB / 0.5892 GB, free: 12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004551/0.3769, allocations: 0.5185 MB / 0.5897 GB, free: 11.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3769, allocations: 0 / 0.5897 GB, free: 11.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009088/0.3778, allocations: 387 kB / 0.5901 GB, free: 11.1 MB / 410.7 MB 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.0001121/0.3779, allocations: 115.2 kB / 0.5902 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.3792, allocations: 0.7924 MB / 0.591 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3792, allocations: 8.062 kB / 0.591 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.3796, allocations: 267.1 kB / 0.5912 GB, free: 9.914 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3807, allocations: 251.4 kB / 0.5915 GB, free: 9.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.3831, allocations: 2.26 MB / 0.5937 GB, free: 7.359 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.3834, allocations: 1.006 MB / 0.5947 GB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004963/0.3839, allocations: 122.7 kB / 0.5948 GB, free: 6.203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.3841, allocations: 67.42 kB / 0.5948 GB, free: 6.137 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3841, allocations: 3.938 kB / 0.5948 GB, free: 6.133 MB / 410.7 MB Notification: Performance of Templates: time 0.01598/0.4001, allocations: 10.22 MB / 0.6048 GB, free: 12.02 MB / 426.7 MB 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)