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.0007975/0.0007975, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009273/0.0009273, allocations: 165 kB / 24.25 MB, free: 208 kB / 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 0.9286/0.9286, allocations: 177.2 MB / 204.7 MB, free: 5.461 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.866/1.866, allocations: 389.6 MB / 0.6355 GB, free: 12.26 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.713e-06/1.713e-06, allocations: 0 / 0.7754 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.622e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003524/0.00355, allocations: 1.889 MB / 0.7772 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004756, allocations: 0.5661 MB / 0.7778 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.004859, allocations: 3.938 kB / 0.7778 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.005, allocations: 29.59 kB / 0.7778 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.153e-05/0.005072, allocations: 35.3 kB / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.005273, allocations: 67.84 kB / 0.7779 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.005446, allocations: 171.5 kB / 0.7781 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.005564, allocations: 38.38 kB / 0.7781 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.005673, allocations: 79.8 kB / 0.7782 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.005732, allocations: 45.28 kB / 0.7782 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.005758, allocations: 12 kB / 0.7782 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.731e-05/0.005776, allocations: 8 kB / 0.7782 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.0058, allocations: 23.86 kB / 0.7783 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.005842, allocations: 45.05 kB / 0.7783 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.005977, allocations: 103.5 kB / 0.7784 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005979, allocations: 0 / 0.7784 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.252e-06/0.005981, allocations: 1 kB / 0.7784 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.005985, allocations: 0 / 0.7784 GB, free: 2.172 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.00043/0.006415, allocations: 373.3 kB / 0.7788 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.006455, allocations: 13.34 kB / 0.7788 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.006491, allocations: 18.42 kB / 0.7788 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.006697, allocations: 173.4 kB / 0.779 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.00671, allocations: 9.5 kB / 0.779 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.006736, allocations: 20.31 kB / 0.779 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.006902, allocations: 133.1 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.00691, allocations: 192 / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.006921, allocations: 8.375 kB / 0.7791 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.006927, allocations: 5.156 kB / 0.7791 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.00697, allocations: 28.95 kB / 0.7792 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.007492, allocations: 0.5678 MB / 0.7797 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.012e-05/0.007553, allocations: 31.95 kB / 0.7797 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.007571, allocations: 12.86 kB / 0.7798 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.007592, allocations: 7.984 kB / 0.7798 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.007696, allocations: 99.73 kB / 0.7799 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.007697, allocations: 4.625 kB / 0.7799 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001469/0.007843, allocations: 91.23 kB / 0.78 GB, free: 476 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.007902, allocations: 132.5 kB / 0.7801 GB, free: 312 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.008006, allocations: 196.4 kB / 0.7803 GB, free: 104 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.008017, allocations: 25.7 kB / 0.7803 GB, free: 72 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.008085, allocations: 124.9 kB / 0.7804 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.008106, allocations: 39.62 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.00815, allocations: 45.67 kB / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.008243, allocations: 331.3 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.008264, allocations: 13.16 kB / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.008334, allocations: 119.1 kB / 0.7809 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.008467, allocations: 160 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.00847, allocations: 0 / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001547/0.008625, allocations: 136.2 kB / 0.7812 GB, free: 15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.00864, allocations: 8.875 kB / 0.7812 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.008647, allocations: 4 kB / 0.7812 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.008656, allocations: 8.5 kB / 0.7812 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.008739, allocations: 36.17 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.008743, allocations: 4.906 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.008811, allocations: 31.88 kB / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.008818, allocations: 8.938 kB / 0.7813 GB, free: 14.91 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 8.099e-05/0.008899, allocations: 119.3 kB / 0.7814 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.008918, allocations: 19.98 kB / 0.7814 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.008953, allocations: 25.39 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.008955, allocations: 0.8438 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.00896, allocations: 8.172 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008963, allocations: 1.969 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.009277, allocations: 353.8 kB / 0.7818 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.00928, allocations: 4 kB / 0.7818 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.009333, allocations: 11.94 kB / 0.7818 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.009338, allocations: 6.75 kB / 0.7818 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.009348, allocations: 0 / 0.7818 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.009352, allocations: 7.984 kB / 0.7818 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.009353, allocations: 3.938 kB / 0.7819 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.009531, allocations: 268.5 kB / 0.7821 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.009551, allocations: 23.81 kB / 0.7821 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.009565, allocations: 4 kB / 0.7821 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.009635, allocations: 9.688 kB / 0.7821 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.009677, allocations: 15.91 kB / 0.7822 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.009685, allocations: 8 kB / 0.7822 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.009723, allocations: 44.67 kB / 0.7822 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009723, allocations: 0.9375 kB / 0.7822 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000188/0.009911, allocations: 31.95 kB / 0.7822 GB, free: 13.9 MB / 0.7448 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,sampleTrigger.y,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001028/0.01001, allocations: 93.2 kB / 0.7823 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.01013, allocations: 72.8 kB / 0.7824 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.01013, allocations: 4.812 kB / 0.7824 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.01018, allocations: 37.8 kB / 0.7824 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.01047, allocations: 68.52 kB / 0.7825 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.01086, allocations: 317.4 kB / 0.7828 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.819e-05/0.0109, allocations: 75.98 kB / 0.7829 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.764e-05/0.01096, allocations: 24.41 kB / 0.7829 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.024e-05/0.01105, allocations: 83.3 kB / 0.783 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01105, allocations: 0 / 0.783 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of Templates: time 0.003954/0.01501, allocations: 2.205 MB / 0.7851 GB, free: 11.02 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.877453421242535]