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.0009512/0.0009512, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001398/0.001398, allocations: 165 kB / 24.17 MB, free: 328 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.9639/0.9639, allocations: 177.1 MB / 204.6 MB, free: 5.488 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 2.082/2.082, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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.753e-06/1.753e-06, allocations: 0 / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.305e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003334/0.003357, allocations: 1.84 MB / 0.777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.004447, allocations: 0.573 MB / 0.7775 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.004564, allocations: 11.88 kB / 0.7775 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.004695, allocations: 21.11 kB / 0.7776 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.301e-05/0.004778, allocations: 31.67 kB / 0.7776 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.005003, allocations: 64.59 kB / 0.7776 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.00523, allocations: 179.4 kB / 0.7778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.005359, allocations: 41.41 kB / 0.7779 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.005498, allocations: 83.73 kB / 0.7779 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.005554, allocations: 39.88 kB / 0.778 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.005578, allocations: 12 kB / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.78e-05/0.005596, allocations: 8 kB / 0.778 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.005625, allocations: 31.84 kB / 0.778 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.005664, allocations: 39.84 kB / 0.7781 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.005789, allocations: 103.5 kB / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005792, allocations: 2.75 kB / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005793, allocations: 0 / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.005796, allocations: 0 / 0.7782 GB, free: 2.324 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.0004022/0.006198, allocations: 368.1 kB / 0.7785 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.00623, allocations: 13.28 kB / 0.7785 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.006275, allocations: 22.92 kB / 0.7785 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.006439, allocations: 173.4 kB / 0.7787 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.00645, allocations: 8.375 kB / 0.7787 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.006475, allocations: 17.2 kB / 0.7787 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.006617, allocations: 131.7 kB / 0.7789 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.006625, allocations: 1 kB / 0.7789 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.006635, allocations: 8.375 kB / 0.7789 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.006642, allocations: 8.531 kB / 0.7789 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.932e-05/0.006681, allocations: 27.22 kB / 0.7789 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.007153, allocations: 0.5646 MB / 0.7795 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.189e-05/0.007205, allocations: 22.58 kB / 0.7795 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.007234, allocations: 21.8 kB / 0.7795 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.007248, allocations: 3.984 kB / 0.7795 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.007352, allocations: 115.5 kB / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.007353, allocations: 0.875 kB / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001631/0.007516, allocations: 91.02 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.007584, allocations: 132.5 kB / 0.7798 GB, free: 468 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.007701, allocations: 192.4 kB / 0.78 GB, free: 264 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.007714, allocations: 25.7 kB / 0.78 GB, free: 232 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.007775, allocations: 132.5 kB / 0.7802 GB, free: 96 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.007801, allocations: 40.38 kB / 0.7802 GB, free: 56 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.007847, allocations: 37.69 kB / 0.7802 GB, free: 12 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.007944, allocations: 332.5 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.007967, allocations: 12 kB / 0.7806 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.008038, allocations: 115.1 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.008161, allocations: 163 kB / 0.7808 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.008167, allocations: 0.625 kB / 0.7808 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001371/0.008304, allocations: 136.5 kB / 0.781 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.008319, allocations: 12.91 kB / 0.781 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.008326, allocations: 4 kB / 0.781 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.008341, allocations: 8.562 kB / 0.781 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.008418, allocations: 35.92 kB / 0.781 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.008424, allocations: 9.062 kB / 0.781 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.008486, allocations: 24.12 kB / 0.7811 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.008494, allocations: 8.812 kB / 0.7811 GB, free: 15.06 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.326e-05/0.008568, allocations: 127.9 kB / 0.7812 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.855e-05/0.008586, allocations: 15.98 kB / 0.7812 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.008616, allocations: 30.42 kB / 0.7812 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.008617, allocations: 0 / 0.7812 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.00862, allocations: 0 / 0.7812 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.008623, allocations: 4.906 kB / 0.7812 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.008917, allocations: 341.9 kB / 0.7816 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.00892, allocations: 4.922 kB / 0.7816 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.008968, allocations: 19.88 kB / 0.7816 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.00897, allocations: 0.9062 kB / 0.7816 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.00898, allocations: 7.938 kB / 0.7816 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.008982, allocations: 1.438 kB / 0.7816 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.008991, allocations: 7.984 kB / 0.7816 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.009163, allocations: 272.4 kB / 0.7819 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.009182, allocations: 26.58 kB / 0.7819 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.009197, allocations: 0 / 0.7819 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.009268, allocations: 8 kB / 0.7819 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.009302, allocations: 15.97 kB / 0.7819 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.009309, allocations: 4 kB / 0.7819 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.669e-05/0.009346, allocations: 48.67 kB / 0.782 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009346, allocations: 0 / 0.782 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001958/0.009542, allocations: 24 kB / 0.782 GB, free: 14.07 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 9.573e-05/0.009637, allocations: 93.62 kB / 0.7821 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.00974, allocations: 76.16 kB / 0.7821 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.009745, allocations: 4 kB / 0.7821 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.009782, allocations: 26.7 kB / 0.7822 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.01007, allocations: 77.42 kB / 0.7822 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.01045, allocations: 332.6 kB / 0.7826 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.364e-05/0.01049, allocations: 73.02 kB / 0.7826 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.041e-05/0.01054, allocations: 23.5 kB / 0.7827 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.01062, allocations: 79.36 kB / 0.7827 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01063, allocations: 0 / 0.7827 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.00407/0.0147, allocations: 2.197 MB / 0.7849 GB, free: 11.18 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: 5.225556847173721]