Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.001031, allocations: 178.1 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 0.5785 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007124/0.0007127, allocations: 85.98 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 12.69 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1717, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.3229, allocations: 133.8 MB / 1.032 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.3232, allocations: 75.95 kB / 1.032 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00899/0.3322, allocations: 3.496 MB / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3322, allocations: 0 / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.3323, allocations: 7.938 kB / 1.035 GB, free: 6.523 MB / 0.6823 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.0006008/0.3329, allocations: 468.1 kB / 1.036 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3329, allocations: 8.031 kB / 1.036 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.333, allocations: 20.69 kB / 1.036 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.3332, allocations: 232 kB / 1.036 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3333, allocations: 16.31 kB / 1.036 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.3333, allocations: 16.31 kB / 1.036 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.3336, allocations: 148.7 kB / 1.036 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3336, allocations: 4.188 kB / 1.036 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.3337, allocations: 11.94 kB / 1.036 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3337, allocations: 0 / 1.036 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.3339, allocations: 81.77 kB / 1.036 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/0.3349, allocations: 0.7703 MB / 1.037 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.335, allocations: 50.56 kB / 1.037 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3351, allocations: 44.83 kB / 1.037 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3352, allocations: 0 / 1.037 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.3354, allocations: 130.7 kB / 1.037 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.3354, allocations: 0 / 1.037 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0004774/0.3359, allocations: 181.5 kB / 1.037 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.336, allocations: 140.4 kB / 1.038 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3362, allocations: 203.4 kB / 1.038 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3362, allocations: 33.7 kB / 1.038 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.3363, allocations: 124 kB / 1.038 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.3363, allocations: 31.59 kB / 1.038 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.3363, allocations: 4 kB / 1.038 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3365, allocations: 326.8 kB / 1.038 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.3366, allocations: 47.97 kB / 1.038 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.3368, allocations: 151.2 kB / 1.038 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.3371, allocations: 210.4 kB / 1.039 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/0.3371, allocations: 7.938 kB / 1.039 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004082/0.3375, allocations: 217.3 kB / 1.039 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3376, allocations: 8 kB / 1.039 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3376, allocations: 7.938 kB / 1.039 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3376, allocations: 4 kB / 1.039 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3377, allocations: 31.92 kB / 1.039 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3378, allocations: 8 kB / 1.039 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3379, allocations: 36.02 kB / 1.039 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.3379, allocations: 12 kB / 1.039 GB, free: 2.414 MB / 0.6823 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.0001112/0.338, allocations: 137.9 kB / 1.039 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.3381, allocations: 23.8 kB / 1.039 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.3381, allocations: 21.39 kB / 1.039 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3381, allocations: 0 / 1.039 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3381, allocations: 4 kB / 1.039 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3382, allocations: 4 kB / 1.039 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/0.3389, allocations: 0.5288 MB / 1.04 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3389, allocations: 0 / 1.04 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.339, allocations: 16.3 kB / 1.04 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.339, allocations: 4 kB / 1.04 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3391, allocations: 8 kB / 1.04 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3391, allocations: 4 kB / 1.04 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3391, allocations: 0 / 1.04 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.3396, allocations: 384 kB / 1.04 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.3396, allocations: 88.92 kB / 1.04 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.3397, allocations: 12.03 kB / 1.04 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.3398, allocations: 15.98 kB / 1.04 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.3399, allocations: 15.92 kB / 1.04 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3399, allocations: 4 kB / 1.04 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001127/0.34, allocations: 140.6 kB / 1.04 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.34, allocations: 0 / 1.04 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003221/0.3404, allocations: 28 kB / 1.04 GB, free: 0.8828 MB / 0.6823 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.000153/0.3405, allocations: 120.1 kB / 1.04 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002984/0.3408, allocations: 124 kB / 1.041 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3409, allocations: 0 / 1.041 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.341, allocations: 60.72 kB / 1.041 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.3416, allocations: 51.95 kB / 1.041 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.3421, allocations: 390.7 kB / 1.041 GB, free: 108 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.3424, allocations: 0.7245 MB / 1.042 GB, free: 15.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.18e-05/0.3425, allocations: 25.78 kB / 1.042 GB, free: 15.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.3426, allocations: 19.44 kB / 1.042 GB, free: 15.31 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.3426, allocations: 0 / 1.042 GB, free: 15.31 MB / 0.698 GB Notification: Performance of Templates: time 0.004244/0.3468, allocations: 1.764 MB / 1.044 GB, free: 13.57 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)