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.001066/0.001066, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.001181/0.001181, allocations: 170.4 kB / 25.05 MB, free: 8.797 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 0.9587/0.9587, allocations: 177.1 MB / 205.5 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.962/1.962, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.763e-06/1.763e-06, allocations: 1.312 kB / 0.7761 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.165e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002416/0.002438, allocations: 1.888 MB / 0.778 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008168/0.003255, allocations: 0.5686 MB / 0.7785 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.609e-05/0.003341, allocations: 7.938 kB / 0.7786 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.003491, allocations: 29.05 kB / 0.7786 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.123e-05/0.003552, allocations: 28.42 kB / 0.7786 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.003733, allocations: 67.86 kB / 0.7787 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000172/0.003905, allocations: 179.4 kB / 0.7788 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.004017, allocations: 38.39 kB / 0.7789 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.004117, allocations: 79.8 kB / 0.779 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.004176, allocations: 43.81 kB / 0.779 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.004198, allocations: 8 kB / 0.779 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.004213, allocations: 12.72 kB / 0.779 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.004241, allocations: 31.83 kB / 0.779 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.004282, allocations: 36.61 kB / 0.7791 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.004424, allocations: 99.52 kB / 0.7792 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004427, allocations: 0.5312 kB / 0.7792 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004427, allocations: 0.625 kB / 0.7792 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.004431, allocations: 4 kB / 0.7792 GB, free: 2.184 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.0004571/0.004888, allocations: 377.8 kB / 0.7795 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.004921, allocations: 9.344 kB / 0.7796 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.004954, allocations: 20.92 kB / 0.7796 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.005131, allocations: 171.5 kB / 0.7797 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.005144, allocations: 12.38 kB / 0.7797 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.005169, allocations: 16.33 kB / 0.7798 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.005328, allocations: 132.5 kB / 0.7799 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.005338, allocations: 5.219 kB / 0.7799 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.005347, allocations: 4.375 kB / 0.7799 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.005355, allocations: 7.938 kB / 0.7799 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.005399, allocations: 32.28 kB / 0.7799 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.005876, allocations: 0.5599 MB / 0.7805 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.271e-05/0.005929, allocations: 32.16 kB / 0.7805 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.005948, allocations: 13.02 kB / 0.7805 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.005965, allocations: 7.984 kB / 0.7805 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.006075, allocations: 107.5 kB / 0.7806 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.006077, allocations: 0 / 0.7806 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001499/0.006227, allocations: 86.84 kB / 0.7807 GB, free: 492 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.006298, allocations: 132.5 kB / 0.7808 GB, free: 328 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.006404, allocations: 193.9 kB / 0.781 GB, free: 124 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.006418, allocations: 33.64 kB / 0.7811 GB, free: 84 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.006489, allocations: 124 kB / 0.7812 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.006511, allocations: 39.67 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.006549, allocations: 42.19 kB / 0.7813 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.006628, allocations: 328.1 kB / 0.7816 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.006647, allocations: 11.98 kB / 0.7816 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.006713, allocations: 123 kB / 0.7817 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.006823, allocations: 160.3 kB / 0.7819 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.006826, allocations: 7.938 kB / 0.7819 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001289/0.006955, allocations: 136.8 kB / 0.782 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.006967, allocations: 7.938 kB / 0.782 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.006973, allocations: 5.031 kB / 0.782 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.006985, allocations: 8 kB / 0.782 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.00706, allocations: 36.17 kB / 0.782 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.007067, allocations: 9.359 kB / 0.7821 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.007125, allocations: 27.89 kB / 0.7821 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.007132, allocations: 4 kB / 0.7821 GB, free: 14.92 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 7.037e-05/0.007203, allocations: 124.9 kB / 0.7822 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.007224, allocations: 15.98 kB / 0.7822 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.007259, allocations: 29.39 kB / 0.7822 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.00726, allocations: 0.9375 kB / 0.7822 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.007262, allocations: 0 / 0.7822 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.007266, allocations: 4 kB / 0.7823 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.007553, allocations: 350.7 kB / 0.7826 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.007555, allocations: 0 / 0.7826 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.007603, allocations: 20.48 kB / 0.7826 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.007606, allocations: 7.25 kB / 0.7826 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.007616, allocations: 0 / 0.7826 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007618, allocations: 4 kB / 0.7826 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007619, allocations: 0 / 0.7826 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.007774, allocations: 279.7 kB / 0.7829 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.007791, allocations: 19.84 kB / 0.7829 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.007805, allocations: 0 / 0.7829 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.007871, allocations: 15.98 kB / 0.7829 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.007912, allocations: 11.02 kB / 0.7829 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.007919, allocations: 8 kB / 0.7829 GB, free: 14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.007954, allocations: 44.67 kB / 0.783 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007954, allocations: 0 / 0.783 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001764/0.00813, allocations: 35.94 kB / 0.783 GB, free: 13.92 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 7.896e-05/0.008209, allocations: 88.3 kB / 0.7831 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.008316, allocations: 77.12 kB / 0.7832 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.008322, allocations: 4 kB / 0.7832 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.00836, allocations: 33.88 kB / 0.7832 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.008623, allocations: 66.31 kB / 0.7833 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.008976, allocations: 317.1 kB / 0.7836 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.363e-05/0.009019, allocations: 78.42 kB / 0.7836 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.009062, allocations: 17.42 kB / 0.7837 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.009166, allocations: 87.28 kB / 0.7837 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.009167, allocations: 0 / 0.7837 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of Templates: time 0.003732/0.0129, allocations: 2.202 MB / 0.7859 GB, free: 11.04 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.905332308262587]