Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.PIDHysteresis.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002809/0.002808, allocations: 356.3 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.414/1.414, allocations: 165.8 MB / 182.5 MB, free: 5.379 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.803/3.803, allocations: 410.8 MB / 0.5995 GB, free: 15.15 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001701/0.0017, allocations: 206.3 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004837, allocations: 8 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3644, allocations: 67.44 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.PIDHysteresis): time 0.003071/0.3675, allocations: 2.486 MB / 0.8106 GB, free: 26.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.3692, allocations: 0.8741 MB / 0.8114 GB, free: 25.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.3695, allocations: 15.94 kB / 0.8114 GB, free: 25.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.273e-05/0.3696, allocations: 39.59 kB / 0.8115 GB, free: 25.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.3701, allocations: 83.28 kB / 0.8116 GB, free: 25.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.3706, allocations: 171.4 kB / 0.8117 GB, free: 25.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.3711, allocations: 435.2 kB / 0.8121 GB, free: 24.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.3714, allocations: 153 kB / 0.8123 GB, free: 24.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.3716, allocations: 127.2 kB / 0.8124 GB, free: 24.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3717, allocations: 131.2 kB / 0.8125 GB, free: 24.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.3718, allocations: 12 kB / 0.8125 GB, free: 24.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.195e-05/0.3719, allocations: 8 kB / 0.8125 GB, free: 24.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.3719, allocations: 59.62 kB / 0.8126 GB, free: 24.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.684e-05/0.372, allocations: 89.52 kB / 0.8127 GB, free: 24.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.3725, allocations: 365.2 kB / 0.813 GB, free: 23.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.924e-06/0.3725, allocations: 0 / 0.813 GB, free: 23.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.786e-06/0.3725, allocations: 0 / 0.813 GB, free: 23.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3725, allocations: 0 / 0.813 GB, free: 23.75 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001082/0.3736, allocations: 0.6505 MB / 0.8137 GB, free: 23.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3737, allocations: 12.03 kB / 0.8137 GB, free: 23.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.391e-05/0.3738, allocations: 47.44 kB / 0.8137 GB, free: 22.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005636/0.3744, allocations: 379.3 kB / 0.8141 GB, free: 22.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.3744, allocations: 20.66 kB / 0.8141 GB, free: 22.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.3745, allocations: 28 kB / 0.8141 GB, free: 22.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.3751, allocations: 341.1 kB / 0.8145 GB, free: 22.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3751, allocations: 0 / 0.8145 GB, free: 22.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.3752, allocations: 16 kB / 0.8145 GB, free: 22.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3752, allocations: 11.98 kB / 0.8145 GB, free: 22.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.3758, allocations: 218.1 kB / 0.8147 GB, free: 21.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.3774, allocations: 1.198 MB / 0.8159 GB, free: 20.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.3781, allocations: 235.3 kB / 0.8161 GB, free: 20.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.3784, allocations: 117.1 kB / 0.8162 GB, free: 20.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.3785, allocations: 4.188 kB / 0.8162 GB, free: 20.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.3785, allocations: 34.75 kB / 0.8162 GB, free: 20.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 3.123e-06/0.3785, allocations: 4 kB / 0.8162 GB, free: 20.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008115/0.3793, allocations: 293.1 kB / 0.8165 GB, free: 19.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.3794, allocations: 106.8 kB / 0.8166 GB, free: 19.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.3798, allocations: 337.6 kB / 0.8169 GB, free: 19.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.3798, allocations: 33.7 kB / 0.817 GB, free: 19.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.3801, allocations: 224.2 kB / 0.8172 GB, free: 19.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.3801, allocations: 78.84 kB / 0.8173 GB, free: 19.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.3802, allocations: 4 kB / 0.8173 GB, free: 19.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.3802, allocations: 342.8 kB / 0.8176 GB, free: 18.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.3805, allocations: 83.89 kB / 0.8177 GB, free: 18.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.3808, allocations: 143.7 kB / 0.8178 GB, free: 18.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.381, allocations: 95.08 kB / 0.8179 GB, free: 18.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.26e-06/0.3811, allocations: 3.953 kB / 0.8179 GB, free: 18.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006316/0.3817, allocations: 277 kB / 0.8182 GB, free: 18.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3817, allocations: 4 kB / 0.8182 GB, free: 18.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.07e-06/0.3818, allocations: 8.188 kB / 0.8182 GB, free: 18.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3818, allocations: 4 kB / 0.8182 GB, free: 18.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.3821, allocations: 51.91 kB / 0.8182 GB, free: 18.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.733e-06/0.3821, allocations: 4 kB / 0.8182 GB, free: 18.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.3824, allocations: 35.73 kB / 0.8183 GB, free: 18.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.3824, allocations: 12 kB / 0.8183 GB, free: 18.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001835/0.3826, allocations: 165.8 kB / 0.8184 GB, free: 17.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.3827, allocations: 35.58 kB / 0.8185 GB, free: 17.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.64e-05/0.3828, allocations: 39.36 kB / 0.8185 GB, free: 17.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.371e-06/0.3828, allocations: 0 / 0.8185 GB, free: 17.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.433e-06/0.3828, allocations: 0 / 0.8185 GB, free: 17.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.804e-06/0.3828, allocations: 0 / 0.8185 GB, free: 17.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.3833, allocations: 401.2 kB / 0.8189 GB, free: 17.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-06/0.3833, allocations: 0 / 0.8189 GB, free: 17.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.3836, allocations: 51.86 kB / 0.819 GB, free: 17.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3836, allocations: 7.984 kB / 0.819 GB, free: 17.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.3837, allocations: 8 kB / 0.819 GB, free: 17.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.404e-06/0.3837, allocations: 3.938 kB / 0.819 GB, free: 17.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.12e-06/0.3837, allocations: 0 / 0.819 GB, free: 17.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.3845, allocations: 431.4 kB / 0.8194 GB, free: 16.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.3847, allocations: 132.7 kB / 0.8195 GB, free: 16.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.3847, allocations: 7.953 kB / 0.8195 GB, free: 16.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.385, allocations: 15.98 kB / 0.8195 GB, free: 16.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/0.3851, allocations: 23.97 kB / 0.8196 GB, free: 16.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.3851, allocations: 7.984 kB / 0.8196 GB, free: 16.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002637/0.3854, allocations: 239.2 kB / 0.8198 GB, free: 16.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.3854, allocations: 0 / 0.8198 GB, free: 16.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004377/0.3859, allocations: 71.69 kB / 0.8199 GB, free: 16.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 9.752e-05/0.386, allocations: 99.19 kB / 0.82 GB, free: 16.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009176/0.3869, allocations: 208.1 kB / 0.8202 GB, free: 16.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.641e-06/0.3869, allocations: 0 / 0.8202 GB, free: 16.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004416/0.3874, allocations: 107.8 kB / 0.8203 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.3886, allocations: 68.2 kB / 0.8203 GB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.3909, allocations: 0.8412 MB / 0.8211 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3913, allocations: 0.7992 MB / 0.8219 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002921/0.3916, allocations: 34.97 kB / 0.822 GB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.3917, allocations: 31.42 kB / 0.822 GB, free: 14.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.757e-06/0.3918, allocations: 0 / 0.822 GB, free: 14.14 MB / 378.7 MB Notification: Performance of Templates: time 0.008376/0.4001, allocations: 2.856 MB / 0.8248 GB, free: 11.3 MB / 378.7 MB