Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003989/0.003989, allocations: 356.6 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.547/1.547, allocations: 165.8 MB / 182.5 MB, free: 5.414 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.776/3.776, allocations: 410.8 MB / 0.5995 GB, free: 15.19 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.001793/0.001792, allocations: 177 kB / 0.6662 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004596, allocations: 20 kB / 0.7423 GB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3276, allocations: 67.44 MB / 0.8081 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.001693/0.3293, allocations: 1.474 MB / 0.8096 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00092/0.3303, allocations: 0.5583 MB / 0.8101 GB, free: 26.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.847e-05/0.3304, allocations: 0 / 0.8101 GB, free: 26.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.3305, allocations: 11.86 kB / 0.8101 GB, free: 26.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.3306, allocations: 23.78 kB / 0.8102 GB, free: 26.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.3308, allocations: 55.88 kB / 0.8102 GB, free: 26.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.331, allocations: 147.5 kB / 0.8104 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3311, allocations: 45.81 kB / 0.8104 GB, free: 26.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.243e-05/0.3312, allocations: 39.73 kB / 0.8104 GB, free: 26.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.3313, allocations: 43.72 kB / 0.8105 GB, free: 26.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.3314, allocations: 4 kB / 0.8105 GB, free: 26.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.3314, allocations: 4 kB / 0.8105 GB, free: 26.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.3314, allocations: 27.91 kB / 0.8105 GB, free: 26.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.3315, allocations: 41.64 kB / 0.8106 GB, free: 26.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.3316, allocations: 97.81 kB / 0.8106 GB, free: 26.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3316, allocations: 0 / 0.8106 GB, free: 26.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.777e-06/0.3316, allocations: 4 kB / 0.8107 GB, free: 26.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.978e-06/0.3316, allocations: 0 / 0.8107 GB, free: 26.17 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005887/0.3322, allocations: 454.7 kB / 0.8111 GB, free: 25.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3323, allocations: 11.97 kB / 0.8111 GB, free: 25.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.3323, allocations: 19.81 kB / 0.8111 GB, free: 25.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.3326, allocations: 214.8 kB / 0.8113 GB, free: 25.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3326, allocations: 8 kB / 0.8113 GB, free: 25.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.3326, allocations: 15.91 kB / 0.8113 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.3329, allocations: 159.3 kB / 0.8115 GB, free: 25.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.333, allocations: 0 / 0.8115 GB, free: 25.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.333, allocations: 11.94 kB / 0.8115 GB, free: 25.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.798e-06/0.333, allocations: 0 / 0.8115 GB, free: 25.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.3333, allocations: 83.88 kB / 0.8116 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3344, allocations: 0.7433 MB / 0.8123 GB, free: 24.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3346, allocations: 54.5 kB / 0.8124 GB, free: 24.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.3348, allocations: 40.84 kB / 0.8124 GB, free: 24.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.4e-05/0.3348, allocations: 0 / 0.8124 GB, free: 24.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.3351, allocations: 134.7 kB / 0.8125 GB, free: 24.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.396e-06/0.3351, allocations: 7.938 kB / 0.8125 GB, free: 24.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005809/0.3357, allocations: 173.4 kB / 0.8127 GB, free: 23.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3358, allocations: 136.7 kB / 0.8128 GB, free: 23.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.336, allocations: 195 kB / 0.813 GB, free: 23.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.336, allocations: 37.64 kB / 0.8131 GB, free: 23.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.3361, allocations: 127.9 kB / 0.8132 GB, free: 23.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.3361, allocations: 31.59 kB / 0.8132 GB, free: 23.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.3361, allocations: 4 kB / 0.8132 GB, free: 23.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.3362, allocations: 330.8 kB / 0.8135 GB, free: 22.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3364, allocations: 44.36 kB / 0.8136 GB, free: 22.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.3366, allocations: 149 kB / 0.8137 GB, free: 22.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3368, allocations: 63.91 kB / 0.8138 GB, free: 22.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.532e-06/0.3368, allocations: 0 / 0.8138 GB, free: 22.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004821/0.3373, allocations: 221.5 kB / 0.814 GB, free: 22.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3373, allocations: 10.66 kB / 0.814 GB, free: 22.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.883e-06/0.3373, allocations: 4 kB / 0.814 GB, free: 22.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3373, allocations: 8.047 kB / 0.814 GB, free: 22.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3375, allocations: 39.89 kB / 0.814 GB, free: 22.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3375, allocations: 4 kB / 0.814 GB, free: 22.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.3377, allocations: 43.92 kB / 0.8141 GB, free: 22.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.3378, allocations: 8 kB / 0.8141 GB, free: 22.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001078/0.3379, allocations: 137.8 kB / 0.8142 GB, free: 22.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.3379, allocations: 23.67 kB / 0.8143 GB, free: 22.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.338, allocations: 25.39 kB / 0.8143 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.845e-06/0.338, allocations: 0 / 0.8143 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.481e-06/0.338, allocations: 4 kB / 0.8143 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.815e-06/0.338, allocations: 0 / 0.8143 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.3389, allocations: 0.5249 MB / 0.8148 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-06/0.3389, allocations: 4 kB / 0.8148 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.3391, allocations: 19.98 kB / 0.8148 GB, free: 21.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.29e-06/0.3391, allocations: 4 kB / 0.8148 GB, free: 21.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.3391, allocations: 3.984 kB / 0.8148 GB, free: 21.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.069e-06/0.3391, allocations: 4 kB / 0.8148 GB, free: 21.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3392, allocations: 0 / 0.8148 GB, free: 21.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.3397, allocations: 384 kB / 0.8152 GB, free: 21.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.3398, allocations: 96.86 kB / 0.8153 GB, free: 20.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.3398, allocations: 0 / 0.8153 GB, free: 20.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.3401, allocations: 20.03 kB / 0.8153 GB, free: 20.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.3401, allocations: 16.28 kB / 0.8153 GB, free: 20.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3402, allocations: 4 kB / 0.8153 GB, free: 20.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.3403, allocations: 144.4 kB / 0.8155 GB, free: 20.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.8e-07/0.3403, allocations: 0 / 0.8155 GB, free: 20.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004566/0.3408, allocations: 32 kB / 0.8155 GB, free: 20.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0001177/0.3409, allocations: 103.2 kB / 0.8156 GB, free: 20.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.3413, allocations: 132.2 kB / 0.8157 GB, free: 20.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.408e-06/0.3413, allocations: 0 / 0.8157 GB, free: 20.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3415, allocations: 55.84 kB / 0.8158 GB, free: 20.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.3422, allocations: 64.64 kB / 0.8158 GB, free: 20.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.3428, allocations: 386.7 kB / 0.8162 GB, free: 20.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.343, allocations: 0.7245 MB / 0.8169 GB, free: 19.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.34e-05/0.3431, allocations: 25.86 kB / 0.8169 GB, free: 19.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.3432, allocations: 15.44 kB / 0.8169 GB, free: 19.22 MB / 378.7 MB Notification: Performance of SimCode: time 1.89e-06/0.3432, allocations: 7.875 kB / 0.817 GB, free: 19.21 MB / 378.7 MB Notification: Performance of Templates: time 0.005469/0.3487, allocations: 1.74 MB / 0.8187 GB, free: 17.49 MB / 378.7 MB