Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.764/0.764, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001165, allocations: 177.9 kB / 173.8 MB, free: 6.137 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008251/0.0008252, allocations: 89.58 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 10.41 kB / 0.5603 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1713, allocations: 76.76 MB / 0.6353 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.3154, allocations: 104.7 MB / 0.7375 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.3157, allocations: 79.94 kB / 0.7376 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.009383/0.3251, allocations: 3.534 MB / 0.7411 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3252, allocations: 0 / 0.7411 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.3252, allocations: 8 kB / 0.7411 GB, free: 2.09 MB / 0.5105 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.0006466/0.3258, allocations: 467.9 kB / 0.7415 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3259, allocations: 12.02 kB / 0.7415 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.3259, allocations: 23.77 kB / 0.7416 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.3262, allocations: 222.6 kB / 0.7418 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.3263, allocations: 12 kB / 0.7418 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.3263, allocations: 12 kB / 0.7418 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.3266, allocations: 149.9 kB / 0.7419 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3266, allocations: 3.938 kB / 0.7419 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.3266, allocations: 8 kB / 0.7419 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3266, allocations: 0 / 0.7419 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.3269, allocations: 87.83 kB / 0.742 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009909/0.3279, allocations: 0.7512 MB / 0.7428 GB, free: 192 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.328, allocations: 54.55 kB / 0.7428 GB, free: 128 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3281, allocations: 3.984 kB / 0.7428 GB, free: 124 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.315/0.6431, allocations: 126.9 kB / 0.7429 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 4.568e-06/0.6431, allocations: 0 / 0.7429 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.000668/0.6438, allocations: 187.2 kB / 0.7431 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.6439, allocations: 134.8 kB / 0.7433 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.6441, allocations: 177.9 kB / 0.7434 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.6441, allocations: 28.45 kB / 0.7434 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.6442, allocations: 132.1 kB / 0.7436 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.6442, allocations: 33.09 kB / 0.7436 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.6442, allocations: 2.5 kB / 0.7436 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.042e-05/0.6443, allocations: 331.4 kB / 0.7439 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.6444, allocations: 43.72 kB / 0.744 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.6446, allocations: 155 kB / 0.7441 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.6448, allocations: 60.55 kB / 0.7442 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6448, allocations: 0 / 0.7442 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003691/0.6451, allocations: 221.5 kB / 0.7444 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.6452, allocations: 6.969 kB / 0.7444 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6452, allocations: 3.594 kB / 0.7444 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.6452, allocations: 9.797 kB / 0.7444 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.6454, allocations: 38.59 kB / 0.7444 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.6454, allocations: 14.95 kB / 0.7445 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.6455, allocations: 30.53 kB / 0.7445 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.6456, allocations: 9.094 kB / 0.7445 GB, free: 107.7 MB / 0.5105 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 9.589e-05/0.6457, allocations: 136.2 kB / 0.7446 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.6457, allocations: 21.75 kB / 0.7446 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.6457, allocations: 20.97 kB / 0.7447 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.6458, allocations: 11.27 kB / 0.7447 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6458, allocations: 1.266 kB / 0.7447 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6458, allocations: 3.469 kB / 0.7447 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.6465, allocations: 0.5155 MB / 0.7452 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6465, allocations: 1.188 kB / 0.7452 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.6466, allocations: 21.67 kB / 0.7452 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6466, allocations: 7.453 kB / 0.7452 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.6467, allocations: 2.812 kB / 0.7452 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.6467, allocations: 8.406 kB / 0.7452 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6467, allocations: 0 / 0.7452 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.6471, allocations: 412.6 kB / 0.7456 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.6472, allocations: 95.91 kB / 0.7457 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.6472, allocations: 2.938 kB / 0.7457 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.6474, allocations: 17.75 kB / 0.7457 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.6474, allocations: 15.11 kB / 0.7457 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.6475, allocations: 7.469 kB / 0.7457 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.312e-05/0.6476, allocations: 148.3 kB / 0.7459 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.92e-07/0.6476, allocations: 4 kB / 0.7459 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003079/0.6479, allocations: 32.5 kB / 0.7459 GB, free: 106.7 MB / 0.5105 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.0001193/0.648, allocations: 107.6 kB / 0.746 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.6483, allocations: 124.6 kB / 0.7461 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6483, allocations: 1.312 kB / 0.7461 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.6485, allocations: 54.61 kB / 0.7462 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.649, allocations: 57.53 kB / 0.7463 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.6495, allocations: 392.2 kB / 0.7466 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.6497, allocations: 0.7333 MB / 0.7473 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.888e-05/0.6498, allocations: 16.64 kB / 0.7474 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.6499, allocations: 17.5 kB / 0.7474 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.6499, allocations: 0 / 0.7474 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.004828/0.6547, allocations: 1.759 MB / 0.7491 GB, free: 105.5 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)