Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.428/2.428, allocations: 253.2 MB / 260.6 MB, free: 7.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 186.7 kB / 319.9 MB, free: 3.062 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 87.25 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.301e-05/2.32e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.211, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9254/1.136, allocations: 133.7 MB / 1.019 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/1.137, allocations: 71.64 kB / 1.019 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01511/1.152, allocations: 3.464 MB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.998e-06/1.152, allocations: 0 / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.902e-05/1.152, allocations: 15.88 kB / 1.023 GB, free: 0.6133 MB / 0.6355 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.0008282/1.153, allocations: 432.9 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.153, allocations: 16.02 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/1.153, allocations: 15.81 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/1.153, allocations: 233.6 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/1.153, allocations: 4 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/1.154, allocations: 8 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001529/1.154, allocations: 38.31 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/1.154, allocations: 115.3 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.154, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/1.154, allocations: 4.875 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/1.154, allocations: 4 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/1.155, allocations: 0.7264 MB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/1.156, allocations: 33.44 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/1.156, allocations: 24.05 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/1.156, allocations: 160 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/1.156, allocations: 113.3 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/1.156, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0003306/1.156, allocations: 99.36 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/1.156, allocations: 132.6 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/1.157, allocations: 158.3 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/1.157, allocations: 25.7 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/1.157, allocations: 138.3 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/1.157, allocations: 30.5 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-06/1.157, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.157, allocations: 332.7 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.619e-05/1.157, allocations: 19.69 kB / 1.025 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/1.157, allocations: 135.3 kB / 1.025 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/1.157, allocations: 40.17 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.157, allocations: 4 kB / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003855/1.158, allocations: 154 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.158, allocations: 8 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.158, allocations: 8.031 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.158, allocations: 4.062 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/1.158, allocations: 39.92 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.158, allocations: 4 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/1.158, allocations: 23.89 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/1.159, allocations: 8 kB / 1.026 GB, free: 13.44 MB / 0.6511 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,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete 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.0001256/1.159, allocations: 131.8 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/1.159, allocations: 15.81 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.378e-05/1.159, allocations: 17.09 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.159, allocations: 4 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.159, allocations: 7.922 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.159, allocations: 4 kB / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009374/1.16, allocations: 466.9 kB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.16, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/1.16, allocations: 23.92 kB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/1.16, allocations: 3.984 kB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/1.16, allocations: 4 kB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.16, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.16, allocations: 4 kB / 1.026 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/1.161, allocations: 345 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/1.161, allocations: 88.92 kB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/1.161, allocations: 4 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/1.161, allocations: 27.97 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/1.161, allocations: 11.97 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/1.161, allocations: 4 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001299/1.161, allocations: 126.2 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.161, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000501/1.162, allocations: 31.84 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB 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,intWitRes1.trigger,$whenCondition2) * Number of discrete 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.0002054/1.162, allocations: 122.6 kB / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002766/1.162, allocations: 75.81 kB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.162, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/1.162, allocations: 35.11 kB / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/1.163, allocations: 54.48 kB / 1.027 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/1.164, allocations: 242.7 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/1.164, allocations: 0.7358 MB / 1.028 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001466/1.164, allocations: 13.33 kB / 1.028 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/1.165, allocations: 19.12 kB / 1.028 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.165, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.006645/1.171, allocations: 1.595 MB / 1.03 GB, free: 9.266 MB / 0.6511 GB