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.001363/0.001364, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001514/0.001514, allocations: 196 kB / 17.98 MB, free: 5.031 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.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6861/0.6861, allocations: 115.1 MB / 406.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.91 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3198, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004646/0.3245, allocations: 4.33 MB / 0.5618 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.3277, allocations: 1.575 MB / 0.5633 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005385/0.3282, allocations: 34.5 kB / 0.5634 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.3286, allocations: 174.4 kB / 0.5635 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005358/0.3292, allocations: 225.5 kB / 0.5637 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.3305, allocations: 0.6692 MB / 0.5644 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.3319, allocations: 1.227 MB / 0.5656 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006972/0.3326, allocations: 0.5023 MB / 0.5661 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004728/0.3331, allocations: 458.9 kB / 0.5665 GB, free: 30.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.3335, allocations: 462.8 kB / 0.567 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.3337, allocations: 103.1 kB / 0.5671 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3338, allocations: 102.1 kB / 0.5671 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.334, allocations: 231.7 kB / 0.5674 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.3343, allocations: 486.6 kB / 0.5678 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009667/0.3352, allocations: 1.16 MB / 0.569 GB, free: 29.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3353, allocations: 2.625 kB / 0.569 GB, free: 29.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3353, allocations: 0 / 0.569 GB, free: 29.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.3353, allocations: 0.9688 kB / 0.569 GB, free: 29.27 MB / 446.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.002288/0.3376, allocations: 1.395 MB / 0.5703 GB, free: 28.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3376, allocations: 10.88 kB / 0.5703 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.3378, allocations: 119.8 kB / 0.5705 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.3391, allocations: 0.7675 MB / 0.5712 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.773e-05/0.3392, allocations: 83.92 kB / 0.5713 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.3393, allocations: 67.86 kB / 0.5714 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.3405, allocations: 0.7357 MB / 0.5721 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3405, allocations: 1.062 kB / 0.5721 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.575e-05/0.3406, allocations: 27.08 kB / 0.5721 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.3406, allocations: 16.84 kB / 0.5721 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.3417, allocations: 0.5205 MB / 0.5726 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.3448, allocations: 2.255 MB / 0.5748 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.3461, allocations: 0.626 MB / 0.5754 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.3466, allocations: 276.9 kB / 0.5757 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/0.3467, allocations: 6.625 kB / 0.5757 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006792/0.3473, allocations: 323.5 kB / 0.576 GB, free: 25.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.846e-06/0.3474, allocations: 0.7812 kB / 0.576 GB, free: 25.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001718/0.3491, allocations: 0.7466 MB / 0.5767 GB, free: 25.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3491, allocations: 84.89 kB / 0.5768 GB, free: 24.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00088/0.35, allocations: 0.7616 MB / 0.5776 GB, free: 24.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.3501, allocations: 36.7 kB / 0.5776 GB, free: 24.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.3503, allocations: 436.7 kB / 0.578 GB, free: 24.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3505, allocations: 212.1 kB / 0.5782 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.3506, allocations: 111.7 kB / 0.5783 GB, free: 24.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.892e-05/0.3507, allocations: 326.1 kB / 0.5786 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.3511, allocations: 211.4 kB / 0.5788 GB, free: 23.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.3516, allocations: 305.3 kB / 0.5791 GB, free: 23.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008613/0.3525, allocations: 0.5093 MB / 0.5796 GB, free: 23.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3525, allocations: 2.844 kB / 0.5796 GB, free: 23.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001132/0.3536, allocations: 0.6525 MB / 0.5803 GB, free: 22.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3537, allocations: 8.219 kB / 0.5803 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3537, allocations: 3.094 kB / 0.5803 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.3537, allocations: 7.719 kB / 0.5803 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.3544, allocations: 149.4 kB / 0.5804 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.3544, allocations: 13.62 kB / 0.5804 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.3548, allocations: 71.7 kB / 0.5805 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.3549, allocations: 21.81 kB / 0.5805 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005836/0.3555, allocations: 354.3 kB / 0.5809 GB, free: 22.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004486/0.3559, allocations: 291.6 kB / 0.5811 GB, free: 22.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008188/0.3568, allocations: 493.6 kB / 0.5816 GB, free: 22.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.3568, allocations: 1.438 kB / 0.5816 GB, free: 22.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001091/0.3579, allocations: 0.6335 MB / 0.5822 GB, free: 21.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3579, allocations: 7.5 kB / 0.5822 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3579, allocations: 2.375 kB / 0.5822 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.3579, allocations: 4.219 kB / 0.5823 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.3585, allocations: 139.6 kB / 0.5824 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3586, allocations: 10.72 kB / 0.5824 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.359, allocations: 58.94 kB / 0.5825 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.359, allocations: 23.75 kB / 0.5825 GB, free: 21.82 MB / 446.1 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.0001786/0.3592, allocations: 218.5 kB / 0.5827 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3593, allocations: 91.3 kB / 0.5828 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.3595, allocations: 106.6 kB / 0.5829 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3595, allocations: 9.125 kB / 0.5829 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.3596, allocations: 5.938 kB / 0.5829 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3596, allocations: 2.672 kB / 0.5829 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.3617, allocations: 1.432 MB / 0.5843 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3617, allocations: 5.344 kB / 0.5843 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/0.3622, allocations: 105.7 kB / 0.5844 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.3623, allocations: 6.656 kB / 0.5844 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.3623, allocations: 12.08 kB / 0.5844 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3623, allocations: 7.469 kB / 0.5844 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3623, allocations: 0 / 0.5844 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.3639, allocations: 0.9624 MB / 0.5854 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.3641, allocations: 225 kB / 0.5856 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3642, allocations: 11.75 kB / 0.5856 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.3646, allocations: 36.19 kB / 0.5856 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/0.3648, allocations: 35.73 kB / 0.5857 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.3648, allocations: 17.88 kB / 0.5857 GB, free: 20.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006092/0.3654, allocations: 0.517 MB / 0.5862 GB, free: 19.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3654, allocations: 0 / 0.5862 GB, free: 19.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007307/0.3662, allocations: 274.7 kB / 0.5864 GB, free: 19.72 MB / 446.1 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.0001209/0.3663, allocations: 122.5 kB / 0.5866 GB, free: 19.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.3678, allocations: 0.7921 MB / 0.5873 GB, free: 19.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3678, allocations: 0 / 0.5873 GB, free: 19.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005449/0.3684, allocations: 269.9 kB / 0.5876 GB, free: 19.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3695, allocations: 270 kB / 0.5878 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.3718, allocations: 1.537 MB / 0.5893 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.3722, allocations: 0.9964 MB / 0.5903 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004431/0.3727, allocations: 115.9 kB / 0.5904 GB, free: 17.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.3729, allocations: 69.31 kB / 0.5905 GB, free: 17.49 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3729, allocations: 0 / 0.5905 GB, free: 17.49 MB / 446.1 MB Notification: Performance of Templates: time 0.01369/0.3866, allocations: 9.261 MB / 0.5995 GB, free: 9.121 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)