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.002526/0.002531, allocations: 357.5 kB / 16.59 MB, free: 5.562 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.44/1.44, allocations: 165.8 MB / 183.1 MB, free: 5.453 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.763/3.763, allocations: 410.8 MB / 0.6001 GB, free: 15.22 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.001798/0.001797, allocations: 201 kB / 0.6668 GB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004866, allocations: 15.98 kB / 0.7429 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4036, allocations: 67.43 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002043/0.4057, allocations: 1.47 MB / 0.8102 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4069, allocations: 0.5545 MB / 0.8107 GB, free: 26.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.4071, allocations: 3.938 kB / 0.8107 GB, free: 26.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.4071, allocations: 11.86 kB / 0.8107 GB, free: 26.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.4073, allocations: 27.78 kB / 0.8108 GB, free: 26.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.4075, allocations: 47.89 kB / 0.8108 GB, free: 26.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.4078, allocations: 159.5 kB / 0.811 GB, free: 26.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.408, allocations: 33.83 kB / 0.811 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.4081, allocations: 43.78 kB / 0.811 GB, free: 26.44 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.4082, allocations: 47.66 kB / 0.8111 GB, free: 26.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.4082, allocations: 4 kB / 0.8111 GB, free: 26.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.26e-05/0.4083, allocations: 4 kB / 0.8111 GB, free: 26.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.4083, allocations: 23.92 kB / 0.8111 GB, free: 26.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.4083, allocations: 45.64 kB / 0.8111 GB, free: 26.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.4085, allocations: 93.8 kB / 0.8112 GB, free: 26.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4085, allocations: 0 / 0.8112 GB, free: 26.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4085, allocations: 0 / 0.8112 GB, free: 26.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.4085, allocations: 0 / 0.8112 GB, free: 26.22 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.0007863/0.4093, allocations: 458.6 kB / 0.8117 GB, free: 25.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4094, allocations: 8.031 kB / 0.8117 GB, free: 25.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.4095, allocations: 15.81 kB / 0.8117 GB, free: 25.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.4097, allocations: 222.7 kB / 0.8119 GB, free: 25.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.4097, allocations: 8 kB / 0.8119 GB, free: 25.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.4098, allocations: 15.91 kB / 0.8119 GB, free: 25.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.4102, allocations: 162.3 kB / 0.8121 GB, free: 25.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4102, allocations: 0 / 0.8121 GB, free: 25.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.4102, allocations: 7.938 kB / 0.8121 GB, free: 25.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.4103, allocations: 4 kB / 0.8121 GB, free: 25.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.4106, allocations: 83.88 kB / 0.8122 GB, free: 25.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.4117, allocations: 0.7394 MB / 0.8129 GB, free: 24.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.412, allocations: 50.5 kB / 0.8129 GB, free: 24.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.4122, allocations: 44.83 kB / 0.813 GB, free: 24.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.4122, allocations: 4 kB / 0.813 GB, free: 24.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003441/0.4126, allocations: 126.7 kB / 0.8131 GB, free: 24.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.956e-06/0.4126, allocations: 0 / 0.8131 GB, free: 24.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007162/0.4133, allocations: 185.5 kB / 0.8133 GB, free: 23.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4134, allocations: 132.5 kB / 0.8134 GB, free: 23.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.4136, allocations: 195 kB / 0.8136 GB, free: 23.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4137, allocations: 29.7 kB / 0.8136 GB, free: 23.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.4137, allocations: 135.9 kB / 0.8138 GB, free: 23.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.4138, allocations: 35.55 kB / 0.8138 GB, free: 23.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.4138, allocations: 4 kB / 0.8138 GB, free: 23.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.507e-05/0.4139, allocations: 330.8 kB / 0.8141 GB, free: 23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.4141, allocations: 44.34 kB / 0.8142 GB, free: 22.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.4143, allocations: 148.8 kB / 0.8143 GB, free: 22.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.4146, allocations: 55.92 kB / 0.8144 GB, free: 22.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4146, allocations: 8 kB / 0.8144 GB, free: 22.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005923/0.4152, allocations: 225.5 kB / 0.8146 GB, free: 22.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4152, allocations: 10.81 kB / 0.8146 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.4153, allocations: 4 kB / 0.8146 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.4153, allocations: 4 kB / 0.8146 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.4155, allocations: 35.92 kB / 0.8146 GB, free: 22.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.4155, allocations: 7.984 kB / 0.8146 GB, free: 22.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.4158, allocations: 39.95 kB / 0.8147 GB, free: 22.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.4159, allocations: 12 kB / 0.8147 GB, free: 22.36 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.0001263/0.416, allocations: 134.5 kB / 0.8148 GB, free: 22.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.416, allocations: 23.67 kB / 0.8148 GB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.4161, allocations: 21.39 kB / 0.8149 GB, free: 22.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.4161, allocations: 4 kB / 0.8149 GB, free: 22.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4161, allocations: 0 / 0.8149 GB, free: 22.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.4162, allocations: 92.92 kB / 0.8149 GB, free: 22.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.4163, allocations: 11.98 kB / 0.815 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.4165, allocations: 15.98 kB / 0.815 GB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.4166, allocations: 11.98 kB / 0.815 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001033/0.4176, allocations: 490.5 kB / 0.8155 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008041/0.4184, allocations: 0.5909 MB / 0.816 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002263/0.4187, allocations: 56 kB / 0.8161 GB, free: 20.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.4188, allocations: 144.4 kB / 0.8162 GB, free: 20.73 MB / 378.7 MB Notification: Performance of Backend: time 7.71e-07/0.4189, allocations: 3.938 kB / 0.8162 GB, free: 20.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009569/0.4198, allocations: 162.9 kB / 0.8164 GB, free: 20.56 MB / 378.7 MB Notification: Performance of SimCode: time 0.001102/0.421, allocations: 0.8636 MB / 0.8172 GB, free: 19.65 MB / 378.7 MB Notification: Performance of Templates: time 0.006742/0.4277, allocations: 1.938 MB / 0.8191 GB, free: 17.73 MB / 378.7 MB