Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009277/0.0009277, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009471/0.0009471, allocations: 167.6 kB / 24.97 MB, free: 8.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.1 MB / 205.4 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.98/1.98, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0.5469 kB / 0.776 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.705e-05, allocations: 7.844 kB / 0.776 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.00214/0.002157, allocations: 1.887 MB / 0.7778 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008388/0.002996, allocations: 0.5726 MB / 0.7784 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.003074, allocations: 8.844 kB / 0.7784 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.00318, allocations: 29.91 kB / 0.7784 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.157e-05/0.003242, allocations: 28.61 kB / 0.7784 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.0034, allocations: 71.84 kB / 0.7785 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.00356, allocations: 167.4 kB / 0.7787 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.003654, allocations: 48.14 kB / 0.7787 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.651e-05/0.003741, allocations: 79.8 kB / 0.7788 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.003788, allocations: 31.89 kB / 0.7788 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.00381, allocations: 8 kB / 0.7788 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.003824, allocations: 12.69 kB / 0.7788 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.003847, allocations: 31.84 kB / 0.7789 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.003884, allocations: 48.78 kB / 0.7789 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.003999, allocations: 103.5 kB / 0.779 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004, allocations: 0 / 0.779 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.71e-07/0.004001, allocations: 3.062 kB / 0.779 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.004005, allocations: 4 kB / 0.779 GB, free: 2.301 MB / 0.7292 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.0003553/0.00436, allocations: 364 kB / 0.7794 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.00439, allocations: 9.344 kB / 0.7794 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.004425, allocations: 20.92 kB / 0.7794 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.004573, allocations: 181 kB / 0.7796 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.004582, allocations: 8.375 kB / 0.7796 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.004603, allocations: 20.33 kB / 0.7796 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.004734, allocations: 132.3 kB / 0.7797 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.00474, allocations: 192 / 0.7797 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.004749, allocations: 4.375 kB / 0.7797 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.004757, allocations: 11.92 kB / 0.7797 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.021e-05/0.004797, allocations: 29.98 kB / 0.7798 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.005232, allocations: 0.5641 MB / 0.7803 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.005275, allocations: 27.89 kB / 0.7803 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.005293, allocations: 16.86 kB / 0.7804 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.005307, allocations: 4 kB / 0.7804 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.926e-05/0.005407, allocations: 104.1 kB / 0.7805 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.083e-06/0.005408, allocations: 0 / 0.7805 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001239/0.005532, allocations: 90.59 kB / 0.7806 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.005579, allocations: 136.5 kB / 0.7807 GB, free: 448 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.195e-05/0.005671, allocations: 181 kB / 0.7809 GB, free: 256 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.005684, allocations: 29.7 kB / 0.7809 GB, free: 220 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.005737, allocations: 136.6 kB / 0.781 GB, free: 80 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.005758, allocations: 35.69 kB / 0.7811 GB, free: 44 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.005813, allocations: 50.92 kB / 0.7811 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.419e-05/0.005887, allocations: 330.8 kB / 0.7814 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.005904, allocations: 11.84 kB / 0.7814 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.005965, allocations: 116.1 kB / 0.7815 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.006073, allocations: 159.6 kB / 0.7817 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006075, allocations: 0 / 0.7817 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001283/0.006203, allocations: 141.1 kB / 0.7818 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.006214, allocations: 8 kB / 0.7818 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.00622, allocations: 9.25 kB / 0.7818 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.006231, allocations: 8 kB / 0.7818 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.006306, allocations: 35.92 kB / 0.7819 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.006311, allocations: 5.125 kB / 0.7819 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.006375, allocations: 23.88 kB / 0.7819 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.006385, allocations: 12 kB / 0.7819 GB, free: 15.04 MB / 0.7448 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 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intNoReset.trigger_internal,intDef.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.532e-05/0.00645, allocations: 125.7 kB / 0.782 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.006467, allocations: 12.7 kB / 0.7821 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.006493, allocations: 21.41 kB / 0.7821 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.0065, allocations: 8.672 kB / 0.7821 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006501, allocations: 0 / 0.7821 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.006516, allocations: 16.88 kB / 0.7821 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.006532, allocations: 11.94 kB / 0.7821 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.648e-05/0.006568, allocations: 9.109 kB / 0.7821 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.006599, allocations: 11.98 kB / 0.7821 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002025/0.006802, allocations: 404.2 kB / 0.7825 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002037/0.007006, allocations: 497.8 kB / 0.783 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.694e-05/0.007043, allocations: 24.83 kB / 0.783 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.007077, allocations: 50.17 kB / 0.7831 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of Backend: time 2.1e-07/0.007077, allocations: 0 / 0.7831 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.007414, allocations: 131.1 kB / 0.7832 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0006015/0.008016, allocations: 0.8625 MB / 0.784 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.003916/0.01193, allocations: 2.559 MB / 0.7865 GB, free: 10.39 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.98273912910372]