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.002541/0.002541, allocations: 358.5 kB / 16.58 MB, free: 5.57 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.469/1.469, allocations: 165.8 MB / 183.1 MB, free: 5.496 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.655/3.655, allocations: 410.8 MB / 0.6001 GB, free: 15.2 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.001783/0.001782, allocations: 199.2 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006215/0.0006217, allocations: 16 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3982, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.5682, allocations: 100.3 MB / 0.9067 GB, free: 8.324 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5685, allocations: 75.95 kB / 0.9068 GB, free: 8.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.5852, allocations: 3.494 MB / 0.9102 GB, free: 4.746 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5853, allocations: 224 / 0.9102 GB, free: 4.746 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.503e-05/0.5853, allocations: 4 kB / 0.9102 GB, free: 4.742 MB / 458.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.001088/0.5864, allocations: 463.1 kB / 0.9106 GB, free: 4.242 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.5865, allocations: 8.031 kB / 0.9106 GB, free: 4.234 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.617e-05/0.5866, allocations: 27.8 kB / 0.9107 GB, free: 4.207 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.587, allocations: 218.7 kB / 0.9109 GB, free: 3.953 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.5871, allocations: 11.98 kB / 0.9109 GB, free: 3.941 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.5872, allocations: 16 kB / 0.9109 GB, free: 3.926 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.5877, allocations: 149.7 kB / 0.911 GB, free: 3.758 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.5878, allocations: 3.953 kB / 0.9111 GB, free: 3.754 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.5878, allocations: 8 kB / 0.9111 GB, free: 3.746 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.5878, allocations: 8 kB / 0.9111 GB, free: 3.738 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.5884, allocations: 75.88 kB / 0.9111 GB, free: 3.664 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.5902, allocations: 0.7588 MB / 0.9119 GB, free: 2.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.5905, allocations: 58.48 kB / 0.9119 GB, free: 2.773 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.5908, allocations: 37.02 kB / 0.912 GB, free: 2.734 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.5908, allocations: 3.953 kB / 0.912 GB, free: 2.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000481/0.5913, allocations: 130.9 kB / 0.9121 GB, free: 2.578 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 3.346e-06/0.5913, allocations: 7.938 kB / 0.9121 GB, free: 2.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009802/0.5923, allocations: 181.2 kB / 0.9123 GB, free: 2.387 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.5925, allocations: 136.8 kB / 0.9124 GB, free: 2.223 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.5928, allocations: 199 kB / 0.9126 GB, free: 2.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.5929, allocations: 29.7 kB / 0.9126 GB, free: 1.984 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.593, allocations: 127.8 kB / 0.9128 GB, free: 1.855 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.5931, allocations: 27.61 kB / 0.9128 GB, free: 1.828 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.5931, allocations: 11.94 kB / 0.9128 GB, free: 1.816 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5933, allocations: 330.8 kB / 0.9131 GB, free: 1.484 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.5936, allocations: 44.3 kB / 0.9131 GB, free: 1.438 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.594, allocations: 154.5 kB / 0.9133 GB, free: 1.238 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.5944, allocations: 59.91 kB / 0.9134 GB, free: 1.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5944, allocations: 0 / 0.9134 GB, free: 1.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008804/0.5953, allocations: 225.4 kB / 0.9136 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.5953, allocations: 6.812 kB / 0.9136 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.5953, allocations: 4 kB / 0.9136 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.5954, allocations: 8 kB / 0.9136 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.5957, allocations: 35.91 kB / 0.9136 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.5957, allocations: 8 kB / 0.9136 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.5961, allocations: 31.92 kB / 0.9137 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.5961, allocations: 12 kB / 0.9137 GB, free: 0.8516 MB / 458.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,intWitRes1.trigger,$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.0002192/0.5964, allocations: 133.7 kB / 0.9138 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.5965, allocations: 23.77 kB / 0.9138 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.579e-05/0.5965, allocations: 21.62 kB / 0.9138 GB, free: 0.668 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.5966, allocations: 3.984 kB / 0.9138 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.5966, allocations: 4 kB / 0.9138 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5966, allocations: 0 / 0.9138 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.5983, allocations: 0.5288 MB / 0.9144 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.5983, allocations: 0 / 0.9144 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.5986, allocations: 24.23 kB / 0.9144 GB, free: 52 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.5987, allocations: 4 kB / 0.9144 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.5987, allocations: 7.984 kB / 0.9144 GB, free: 40 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.5987, allocations: 4 kB / 0.9144 GB, free: 36 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5988, allocations: 0 / 0.9144 GB, free: 36 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.5999, allocations: 376.2 kB / 0.9148 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.6001, allocations: 92.88 kB / 0.9148 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.6002, allocations: 8 kB / 0.9149 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/0.6006, allocations: 16.03 kB / 0.9149 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.6007, allocations: 15.97 kB / 0.9149 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.6008, allocations: 4 kB / 0.9149 GB, free: 15.49 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002524/0.601, allocations: 144.4 kB / 0.915 GB, free: 15.35 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6011, allocations: 0 / 0.915 GB, free: 15.35 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000897/0.602, allocations: 35.84 kB / 0.9151 GB, free: 15.32 MB / 474.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,intWitRes1.trigger,$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.0002179/0.6022, allocations: 115.1 kB / 0.9152 GB, free: 15.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007707/0.603, allocations: 124.2 kB / 0.9153 GB, free: 15.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.603, allocations: 0 / 0.9153 GB, free: 15.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.6034, allocations: 55.91 kB / 0.9153 GB, free: 15.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.6047, allocations: 66.03 kB / 0.9154 GB, free: 14.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.6062, allocations: 386.7 kB / 0.9158 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.6067, allocations: 0.7284 MB / 0.9165 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.6069, allocations: 21.86 kB / 0.9165 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.689e-05/0.607, allocations: 19.44 kB / 0.9165 GB, free: 13.75 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/0.607, allocations: 0 / 0.9165 GB, free: 13.75 MB / 474.7 MB Notification: Performance of Templates: time 0.00876/0.6157, allocations: 1.742 MB / 0.9182 GB, free: 12.02 MB / 474.7 MB