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.062/5.062, allocations: 0.5623 GB / 0.5775 GB, free: 3.355 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.002615/0.002615, allocations: 359.3 kB / 0.6446 GB, free: 185.7 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.555/4.555, allocations: 410.7 MB / 1.113 GB, free: 6 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.002578/0.002579, allocations: 180.5 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005303/0.0005305, allocations: 15.98 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8036/0.8041, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/1.017, allocations: 139.9 MB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/1.018, allocations: 78.22 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02197/1.04, allocations: 3.487 MB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.346e-06/1.04, allocations: 0.875 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.539e-05/1.04, allocations: 9.25 kB / 1.601 GB, free: 140.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.001147/1.041, allocations: 457 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.041, allocations: 16.23 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.024e-05/1.041, allocations: 19.75 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/1.042, allocations: 231.5 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/1.042, allocations: 9.156 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/1.042, allocations: 15.91 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/1.042, allocations: 148.6 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/1.042, allocations: 0 / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/1.042, allocations: 9.062 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/1.042, allocations: 3.938 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005731/1.043, allocations: 83.47 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/1.045, allocations: 0.7612 MB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/1.045, allocations: 52.45 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/1.046, allocations: 38.59 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/1.046, allocations: 4.625 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005141/1.046, allocations: 129.8 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 4.438e-06/1.046, allocations: 0 / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.001128/1.047, allocations: 178.6 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/1.048, allocations: 132.5 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/1.048, allocations: 201.5 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/1.048, allocations: 29.7 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/1.048, allocations: 129.3 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/1.048, allocations: 35.5 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/1.048, allocations: 4 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.048, allocations: 333.6 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/1.049, allocations: 44.34 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/1.049, allocations: 148.9 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/1.049, allocations: 67.3 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.049, allocations: 0 / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009758/1.05, allocations: 214.2 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.05, allocations: 11.53 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.051, allocations: 4 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/1.051, allocations: 4 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/1.051, allocations: 39.91 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/1.051, allocations: 7.938 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/1.051, allocations: 35.78 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/1.051, allocations: 12.81 kB / 1.605 GB, free: 137 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,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.0001871/1.052, allocations: 135.9 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/1.052, allocations: 23.8 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.119e-05/1.052, allocations: 21.41 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/1.052, allocations: 5.469 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.052, allocations: 0 / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/1.052, allocations: 9.109 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/1.054, allocations: 0.5216 MB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.054, allocations: 0 / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/1.054, allocations: 24.45 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/1.054, allocations: 5.422 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/1.054, allocations: 4 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/1.054, allocations: 0 / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/1.054, allocations: 7.953 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.055, allocations: 373.9 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/1.055, allocations: 98.2 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/1.055, allocations: 0 / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/1.056, allocations: 23.25 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/1.056, allocations: 19.92 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/1.056, allocations: 4 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002009/1.056, allocations: 146.1 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.112e-06/1.056, allocations: 2.406 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007392/1.057, allocations: 28 kB / 1.606 GB, free: 135.4 MB / 0.8542 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 () * 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.0002025/1.057, allocations: 109.8 kB / 1.606 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007918/1.058, allocations: 123.9 kB / 1.606 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/1.058, allocations: 0 / 1.606 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/1.058, allocations: 54.59 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/1.06, allocations: 56.72 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/1.061, allocations: 390.1 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/1.061, allocations: 0.7253 MB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001847/1.061, allocations: 23.92 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/1.061, allocations: 16.47 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.343e-06/1.061, allocations: 0 / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.01002/1.071, allocations: 1.75 MB / 1.609 GB, free: 132.3 MB / 0.8542 GB