Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.087/5.087, allocations: 0.5623 GB / 0.5776 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002522/0.002522, allocations: 361.7 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.652/4.652, allocations: 410.7 MB / 1.113 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001837/0.001837, allocations: 195.2 kB / 1.226 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005006, allocations: 12 kB / 1.349 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7212/0.7218, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002172/0.724, allocations: 1.491 MB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.7251, allocations: 0.5533 MB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.7253, allocations: 7.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.7253, allocations: 11.86 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.7255, allocations: 21.12 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.7257, allocations: 53.52 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.7259, allocations: 151.5 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.7261, allocations: 37.23 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.151e-05/0.7262, allocations: 35.8 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.7263, allocations: 52.42 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.7263, allocations: 7.938 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 2.196e-05/0.7264, allocations: 4.906 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.7264, allocations: 19.92 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.7265, allocations: 42.64 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.7266, allocations: 95.61 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7266, allocations: 3.938 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7266, allocations: 2.188 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.7266, allocations: 3.938 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB 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.0007658/0.7274, allocations: 451.1 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.7275, allocations: 11.62 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.7275, allocations: 27.75 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.7278, allocations: 216 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.7278, allocations: 8 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.7279, allocations: 12 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.7282, allocations: 160.4 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.7283, allocations: 2.578 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.7283, allocations: 10.25 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.7283, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.7287, allocations: 85.59 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.7297, allocations: 0.7401 MB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.73, allocations: 59.73 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.7302, allocations: 34.38 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.7302, allocations: 3.984 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.7306, allocations: 131 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.395e-06/0.7306, allocations: 0 / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0007091/0.7313, allocations: 184.5 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.7314, allocations: 129.5 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.7316, allocations: 197.5 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.7316, allocations: 34.7 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.7317, allocations: 135.9 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.7318, allocations: 24.28 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.7318, allocations: 4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.7319, allocations: 332 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.7321, allocations: 49.28 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.7323, allocations: 148.5 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.7326, allocations: 62.14 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7326, allocations: 0 / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005856/0.7332, allocations: 223.1 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.7332, allocations: 4 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7332, allocations: 4.969 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.7333, allocations: 8 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.7335, allocations: 34.33 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.7335, allocations: 7.953 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.7338, allocations: 35.83 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.7338, allocations: 8.969 kB / 1.467 GB, free: 278 MB / 0.8542 GB 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.0001233/0.7339, allocations: 139.3 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.734, allocations: 15.81 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.305e-05/0.734, allocations: 29.98 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.734, allocations: 1.781 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7341, allocations: 2.656 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.7341, allocations: 96.88 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.7342, allocations: 0 / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.7344, allocations: 19.98 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.7345, allocations: 16.78 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008895/0.7354, allocations: 492.5 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008045/0.7362, allocations: 0.5886 MB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002279/0.7364, allocations: 52.86 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001339/0.7366, allocations: 143.4 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of Backend: time 7.12e-07/0.7366, allocations: 0 / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009463/0.7375, allocations: 175.5 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001078/0.7386, allocations: 0.8597 MB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.00652/0.7452, allocations: 1.937 MB / 1.472 GB, free: 273.5 MB / 0.8542 GB