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.001514/0.001514, allocations: 107.4 kB / 17.02 MB, free: 5.66 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.001726/0.001726, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7228/0.7228, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 59.89 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3432, allocations: 76.14 MB / 0.5575 GB, free: 36.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005726/0.3489, allocations: 4.325 MB / 0.5618 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004236/0.3532, allocations: 1.577 MB / 0.5633 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007613/0.354, allocations: 35.12 kB / 0.5633 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.3545, allocations: 170.1 kB / 0.5635 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009214/0.3555, allocations: 228.9 kB / 0.5637 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.3571, allocations: 0.6664 MB / 0.5644 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.3587, allocations: 1.226 MB / 0.5656 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007817/0.3595, allocations: 0.5025 MB / 0.5661 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007493/0.3603, allocations: 467.8 kB / 0.5665 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000547/0.3608, allocations: 458.5 kB / 0.5669 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.361, allocations: 107.3 kB / 0.567 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.3612, allocations: 102.2 kB / 0.5671 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.3614, allocations: 231.7 kB / 0.5674 GB, free: 30 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.3617, allocations: 495.2 kB / 0.5678 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.3632, allocations: 1.152 MB / 0.569 GB, free: 29.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3632, allocations: 0 / 0.569 GB, free: 29.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.3632, allocations: 1.438 kB / 0.569 GB, free: 29.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.988e-05/0.3633, allocations: 0 / 0.569 GB, free: 29.1 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.002903/0.3662, allocations: 1.401 MB / 0.5703 GB, free: 28.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3662, allocations: 9.344 kB / 0.5703 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.3665, allocations: 120.3 kB / 0.5705 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.368, allocations: 0.7567 MB / 0.5712 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.3681, allocations: 83.97 kB / 0.5713 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.3682, allocations: 70.17 kB / 0.5713 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3696, allocations: 0.7377 MB / 0.5721 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.3696, allocations: 0 / 0.5721 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.3697, allocations: 28.91 kB / 0.5721 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.3697, allocations: 16.86 kB / 0.5721 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.3709, allocations: 0.5147 MB / 0.5726 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/0.3744, allocations: 2.255 MB / 0.5748 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.3759, allocations: 0.6205 MB / 0.5754 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.3764, allocations: 281 kB / 0.5757 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-05/0.3764, allocations: 10.66 kB / 0.5757 GB, free: 25.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006656/0.3771, allocations: 326.3 kB / 0.576 GB, free: 25.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.885e-06/0.3771, allocations: 0 / 0.576 GB, free: 25.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.0016/0.3787, allocations: 0.7458 MB / 0.5767 GB, free: 24.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3788, allocations: 93.03 kB / 0.5768 GB, free: 24.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/0.3797, allocations: 0.7579 MB / 0.5776 GB, free: 24.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.3798, allocations: 36.3 kB / 0.5776 GB, free: 24.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.3801, allocations: 442 kB / 0.578 GB, free: 24.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.3803, allocations: 207.2 kB / 0.5782 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.3804, allocations: 106 kB / 0.5783 GB, free: 23.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.3805, allocations: 333.9 kB / 0.5786 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.381, allocations: 203.5 kB / 0.5788 GB, free: 23.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.3815, allocations: 305.5 kB / 0.5791 GB, free: 23.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008968/0.3824, allocations: 0.5092 MB / 0.5796 GB, free: 23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3824, allocations: 0 / 0.5796 GB, free: 23 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001267/0.3837, allocations: 0.6575 MB / 0.5803 GB, free: 22.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3837, allocations: 6.625 kB / 0.5803 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.3837, allocations: 3.125 kB / 0.5803 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.3838, allocations: 5.438 kB / 0.5803 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.3844, allocations: 142.8 kB / 0.5804 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.3845, allocations: 12.34 kB / 0.5804 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.385, allocations: 72.3 kB / 0.5805 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.385, allocations: 25.56 kB / 0.5805 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005794/0.3856, allocations: 361 kB / 0.5809 GB, free: 22.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004504/0.3861, allocations: 291.6 kB / 0.5811 GB, free: 22.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007974/0.3869, allocations: 494.1 kB / 0.5816 GB, free: 22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.414e-06/0.3869, allocations: 1.094 kB / 0.5816 GB, free: 22 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001127/0.388, allocations: 0.6313 MB / 0.5822 GB, free: 21.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.388, allocations: 5.281 kB / 0.5822 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.388, allocations: 3.188 kB / 0.5822 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.3881, allocations: 5.281 kB / 0.5822 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/0.3887, allocations: 139.2 kB / 0.5824 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.3887, allocations: 10.34 kB / 0.5824 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.3891, allocations: 62.89 kB / 0.5824 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.3892, allocations: 20.67 kB / 0.5825 GB, free: 21.65 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.0001486/0.3893, allocations: 219.3 kB / 0.5827 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.3895, allocations: 92.06 kB / 0.5828 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.3897, allocations: 101.5 kB / 0.5829 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.3897, allocations: 6.594 kB / 0.5829 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.3897, allocations: 7.938 kB / 0.5829 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.3897, allocations: 4.844 kB / 0.5829 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.3919, allocations: 1.432 MB / 0.5843 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.392, allocations: 3.938 kB / 0.5843 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.3925, allocations: 113.5 kB / 0.5844 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/0.3926, allocations: 3.062 kB / 0.5844 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.3926, allocations: 14.27 kB / 0.5844 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3926, allocations: 1.781 kB / 0.5844 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3926, allocations: 0 / 0.5844 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.3943, allocations: 0.9665 MB / 0.5854 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.3946, allocations: 220.3 kB / 0.5856 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.3947, allocations: 16.91 kB / 0.5856 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/0.3952, allocations: 36.72 kB / 0.5856 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3953, allocations: 37.62 kB / 0.5856 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.3954, allocations: 19.67 kB / 0.5857 GB, free: 19.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007192/0.3961, allocations: 0.5152 MB / 0.5862 GB, free: 19.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3961, allocations: 1.062 kB / 0.5862 GB, free: 19.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008102/0.3969, allocations: 269.9 kB / 0.5864 GB, free: 19.55 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.0001331/0.397, allocations: 120.4 kB / 0.5865 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.3987, allocations: 0.7968 MB / 0.5873 GB, free: 19.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3987, allocations: 0 / 0.5873 GB, free: 19.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.3993, allocations: 266 kB / 0.5876 GB, free: 19.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.4005, allocations: 264.5 kB / 0.5878 GB, free: 19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.4032, allocations: 1.543 MB / 0.5893 GB, free: 18.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.4037, allocations: 0.9924 MB / 0.5903 GB, free: 17.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005578/0.4043, allocations: 118.7 kB / 0.5904 GB, free: 17.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.4045, allocations: 62.06 kB / 0.5905 GB, free: 17.29 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4045, allocations: 0 / 0.5905 GB, free: 17.29 MB / 446.1 MB Notification: Performance of Templates: time 0.01589/0.4204, allocations: 9.267 MB / 0.5995 GB, free: 9.086 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)