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.002172/0.002172, allocations: 183.6 kB / 15.76 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7273/0.7273, allocations: 82.93 MB / 99.42 MB, free: 3.23 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.339/2.339, allocations: 205.4 MB / 325.4 MB, free: 3.348 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 84.83 kB / 393.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007699/0.0007703, allocations: 20 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1352, allocations: 67.45 MB / 0.5264 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002387/0.1377, allocations: 1.469 MB / 0.5278 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1389, allocations: 0.5507 MB / 0.5283 GB, free: 13.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.139, allocations: 7.938 kB / 0.5283 GB, free: 13.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.1391, allocations: 3.938 kB / 0.5283 GB, free: 13.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.1392, allocations: 31.88 kB / 0.5284 GB, free: 12.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.1395, allocations: 59.81 kB / 0.5284 GB, free: 12.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.1398, allocations: 111.8 kB / 0.5285 GB, free: 12.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1399, allocations: 41.83 kB / 0.5286 GB, free: 12.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.859e-05/0.14, allocations: 39.8 kB / 0.5286 GB, free: 12.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.962e-05/0.1401, allocations: 47.7 kB / 0.5287 GB, free: 12.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.1402, allocations: 4 kB / 0.5287 GB, free: 12.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.011e-05/0.1402, allocations: 4 kB / 0.5287 GB, free: 12.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.1402, allocations: 19.91 kB / 0.5287 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.1403, allocations: 45.64 kB / 0.5287 GB, free: 12.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1404, allocations: 84.06 kB / 0.5288 GB, free: 12.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.799e-06/0.1405, allocations: 7.938 kB / 0.5288 GB, free: 12.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.907e-06/0.1405, allocations: 0 / 0.5288 GB, free: 12.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.055e-06/0.1405, allocations: 0 / 0.5288 GB, free: 12.52 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.0008122/0.1413, allocations: 450.7 kB / 0.5292 GB, free: 12.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1414, allocations: 12.03 kB / 0.5293 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.1414, allocations: 19.81 kB / 0.5293 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.1418, allocations: 226.6 kB / 0.5295 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1418, allocations: 8 kB / 0.5295 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.1418, allocations: 12 kB / 0.5295 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.1422, allocations: 165.6 kB / 0.5297 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1423, allocations: 0 / 0.5297 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.1423, allocations: 8 kB / 0.5297 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6e-06/0.1423, allocations: 0 / 0.5297 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.1426, allocations: 79.88 kB / 0.5297 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.1439, allocations: 0.7511 MB / 0.5305 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.1441, allocations: 54.42 kB / 0.5305 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1442, allocations: 4 kB / 0.5305 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/0.1446, allocations: 126.7 kB / 0.5307 GB, free: 10.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 3.355e-06/0.1446, allocations: 0 / 0.5307 GB, free: 10.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006638/0.1452, allocations: 185.5 kB / 0.5308 GB, free: 10.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/0.1454, allocations: 128.5 kB / 0.531 GB, free: 10.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.1456, allocations: 195 kB / 0.5311 GB, free: 9.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.1457, allocations: 37.69 kB / 0.5312 GB, free: 9.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1458, allocations: 131.8 kB / 0.5313 GB, free: 9.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.1459, allocations: 31.7 kB / 0.5313 GB, free: 9.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.1459, allocations: 7.938 kB / 0.5313 GB, free: 9.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1461, allocations: 326.8 kB / 0.5317 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.1463, allocations: 44.34 kB / 0.5317 GB, free: 9.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.1465, allocations: 155.1 kB / 0.5318 GB, free: 9.086 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.1468, allocations: 63.92 kB / 0.5319 GB, free: 9.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.284e-06/0.1468, allocations: 0 / 0.5319 GB, free: 9.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005971/0.1474, allocations: 224.9 kB / 0.5321 GB, free: 8.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1474, allocations: 8 kB / 0.5321 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.1475, allocations: 4 kB / 0.5321 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1475, allocations: 4.5 kB / 0.5321 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1477, allocations: 39.92 kB / 0.5322 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.1477, allocations: 7.938 kB / 0.5322 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.1479, allocations: 31.83 kB / 0.5322 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.148, allocations: 11.98 kB / 0.5322 GB, free: 8.691 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.0001679/0.1481, allocations: 133 kB / 0.5324 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.1482, allocations: 24.02 kB / 0.5324 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.1483, allocations: 25.39 kB / 0.5324 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.948e-06/0.1483, allocations: 4 kB / 0.5324 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.768e-06/0.1483, allocations: 4 kB / 0.5324 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.1483, allocations: 4 kB / 0.5324 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.1495, allocations: 0.5288 MB / 0.5329 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.781e-06/0.1495, allocations: 3.938 kB / 0.5329 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.1497, allocations: 19.98 kB / 0.5329 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.276e-06/0.1497, allocations: 0 / 0.5329 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.1497, allocations: 4 kB / 0.533 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.155e-06/0.1498, allocations: 4 kB / 0.533 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.096e-06/0.1498, allocations: 4 kB / 0.533 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.1505, allocations: 409.5 kB / 0.5334 GB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.821e-05/0.1506, allocations: 96.95 kB / 0.5334 GB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.1507, allocations: 4 kB / 0.5334 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.1509, allocations: 20.08 kB / 0.5335 GB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.151, allocations: 23.92 kB / 0.5335 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.151, allocations: 7.938 kB / 0.5335 GB, free: 7.266 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.1512, allocations: 140.4 kB / 0.5336 GB, free: 7.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.1512, allocations: 0 / 0.5336 GB, free: 7.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00048/0.1517, allocations: 24 kB / 0.5337 GB, free: 7.105 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.0001522/0.1519, allocations: 123.1 kB / 0.5338 GB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004476/0.1524, allocations: 124.7 kB / 0.5339 GB, free: 6.852 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1524, allocations: 4 kB / 0.5339 GB, free: 6.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.1526, allocations: 51.91 kB / 0.5339 GB, free: 6.797 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.1531, allocations: 50.91 kB / 0.534 GB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008082/0.154, allocations: 390.9 kB / 0.5344 GB, free: 6.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.1544, allocations: 0.7206 MB / 0.5351 GB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.1546, allocations: 29.72 kB / 0.5351 GB, free: 5.562 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.1546, allocations: 19.38 kB / 0.5351 GB, free: 5.543 MB / 378.7 MB Notification: Performance of SimCode: time 1.645e-06/0.1546, allocations: 0 / 0.5351 GB, free: 5.543 MB / 378.7 MB Notification: Performance of Templates: time 0.006401/0.161, allocations: 1.733 MB / 0.5368 GB, free: 3.824 MB / 378.7 MB