Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009685/0.0009684, allocations: 182.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5347/0.5347, allocations: 91.99 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.74/1.74, allocations: 223.2 MB / 354.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 104.2 kB / 427.4 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005174, allocations: 8 kB / 0.4982 GB, free: 42.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1803, allocations: 72.32 MB / 0.5689 GB, free: 1.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5388/0.7191, allocations: 103.4 MB / 0.6699 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.7194, allocations: 75.95 kB / 0.67 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01078/0.7302, allocations: 3.543 MB / 0.6734 GB, free: 13.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7303, allocations: 3.938 kB / 0.6734 GB, free: 13.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.7303, allocations: 0 / 0.6734 GB, free: 13.34 MB / 474.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.0007783/0.7311, allocations: 463.8 kB / 0.6739 GB, free: 12.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.7312, allocations: 12.03 kB / 0.6739 GB, free: 12.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/0.7312, allocations: 19.77 kB / 0.6739 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.7316, allocations: 230.5 kB / 0.6741 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.7316, allocations: 11.98 kB / 0.6741 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.7317, allocations: 12.88 kB / 0.6741 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.732, allocations: 153.9 kB / 0.6743 GB, free: 12.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.732, allocations: 0 / 0.6743 GB, free: 12.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.7321, allocations: 4 kB / 0.6743 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.7321, allocations: 7.953 kB / 0.6743 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.7323, allocations: 83.88 kB / 0.6744 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.7335, allocations: 0.7549 MB / 0.6751 GB, free: 11.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.7336, allocations: 58.44 kB / 0.6752 GB, free: 11.37 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.7337, allocations: 0 / 0.6752 GB, free: 11.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.734, allocations: 134.7 kB / 0.6753 GB, free: 11.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.734, allocations: 0 / 0.6753 GB, free: 11.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005435/0.7346, allocations: 185.7 kB / 0.6755 GB, free: 11.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.7347, allocations: 132.5 kB / 0.6756 GB, free: 10.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.7348, allocations: 174.2 kB / 0.6758 GB, free: 10.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.7349, allocations: 25.7 kB / 0.6758 GB, free: 10.65 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.735, allocations: 139.8 kB / 0.6759 GB, free: 10.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.735, allocations: 27.77 kB / 0.676 GB, free: 10.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.735, allocations: 4 kB / 0.676 GB, free: 10.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.7352, allocations: 334.8 kB / 0.6763 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.7353, allocations: 48.28 kB / 0.6763 GB, free: 10.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.7355, allocations: 139.3 kB / 0.6765 GB, free: 9.906 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.7357, allocations: 67.91 kB / 0.6765 GB, free: 9.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.7357, allocations: 4 kB / 0.6765 GB, free: 9.836 MB / 474.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004234/0.7361, allocations: 209.4 kB / 0.6767 GB, free: 9.625 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.7362, allocations: 11.98 kB / 0.6767 GB, free: 9.613 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.7362, allocations: 4 kB / 0.6767 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.7362, allocations: 4 kB / 0.6768 GB, free: 9.605 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.7363, allocations: 43.88 kB / 0.6768 GB, free: 9.562 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.7364, allocations: 4.188 kB / 0.6768 GB, free: 9.559 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.7365, allocations: 35.83 kB / 0.6768 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.7366, allocations: 8 kB / 0.6768 GB, free: 9.516 MB / 474.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.000138/0.7367, allocations: 142.3 kB / 0.677 GB, free: 9.371 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.7367, allocations: 16.05 kB / 0.677 GB, free: 9.355 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.049e-05/0.7368, allocations: 25.38 kB / 0.677 GB, free: 9.328 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7368, allocations: 4 kB / 0.677 GB, free: 9.324 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7368, allocations: 15.83 kB / 0.677 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7368, allocations: 0 / 0.677 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008145/0.7377, allocations: 0.5289 MB / 0.6775 GB, free: 8.723 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7377, allocations: 0 / 0.6775 GB, free: 8.723 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.7378, allocations: 23.92 kB / 0.6776 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7378, allocations: 0 / 0.6776 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.7378, allocations: 7.953 kB / 0.6776 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.7378, allocations: 0 / 0.6776 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7379, allocations: 0 / 0.6776 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.7384, allocations: 413.8 kB / 0.678 GB, free: 8.246 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.7385, allocations: 88.92 kB / 0.6781 GB, free: 8.141 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.7386, allocations: 12.34 kB / 0.6781 GB, free: 8.129 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.7387, allocations: 15.98 kB / 0.6781 GB, free: 8.113 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.7388, allocations: 19.98 kB / 0.6781 GB, free: 8.094 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.7388, allocations: 4 kB / 0.6781 GB, free: 8.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.7389, allocations: 148.3 kB / 0.6782 GB, free: 7.945 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7389, allocations: 0 / 0.6782 GB, free: 7.945 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003252/0.7393, allocations: 28 kB / 0.6783 GB, free: 7.918 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.0001654/0.7395, allocations: 124.2 kB / 0.6784 GB, free: 7.789 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.7398, allocations: 115.8 kB / 0.6785 GB, free: 7.676 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7398, allocations: 1 kB / 0.6785 GB, free: 7.676 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.74, allocations: 64.03 kB / 0.6786 GB, free: 7.613 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.7404, allocations: 53.83 kB / 0.6786 GB, free: 7.562 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.741, allocations: 379.3 kB / 0.679 GB, free: 7.152 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.7413, allocations: 0.7245 MB / 0.6797 GB, free: 6.402 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.702e-05/0.7414, allocations: 25.84 kB / 0.6797 GB, free: 6.379 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.7414, allocations: 19.44 kB / 0.6797 GB, free: 6.359 MB / 474.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7414, allocations: 4 kB / 0.6797 GB, free: 6.355 MB / 474.7 MB Notification: Performance of Templates: time 0.004625/0.7461, allocations: 1.744 MB / 0.6814 GB, free: 4.641 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)