Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.637/1.637, allocations: 287.4 MB / 303.2 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 178.1 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008021/0.0008022, allocations: 85.28 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003799, allocations: 12.84 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1872, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.00162/0.1888, allocations: 1.483 MB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008215/0.1897, allocations: 0.5515 MB / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1898, allocations: 3.938 kB / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.1899, allocations: 19.8 kB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.218e-05/0.19, allocations: 11.86 kB / 0.9813 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.1902, allocations: 67.86 kB / 0.9814 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.1904, allocations: 151.5 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1905, allocations: 41.66 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/0.1906, allocations: 47.77 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.1907, allocations: 43.72 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1907, allocations: 8 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.1907, allocations: 4 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.1908, allocations: 19.86 kB / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.1908, allocations: 49.64 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.215e-05/0.1909, allocations: 84.05 kB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1909, allocations: 0 / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1909, allocations: 0 / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.1909, allocations: 0 / 0.9818 GB, free: 25.61 MB / 0.6198 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.0005564/0.1915, allocations: 458.7 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1915, allocations: 12.03 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.1916, allocations: 16.75 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1918, allocations: 235.8 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1918, allocations: 8.375 kB / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.1918, allocations: 12.38 kB / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.1921, allocations: 158.2 kB / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1921, allocations: 0 / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1921, allocations: 8 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1921, allocations: 3.938 kB / 0.9827 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.1924, allocations: 86.28 kB / 0.9827 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.1931, allocations: 0.7547 MB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.1932, allocations: 54.55 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.1933, allocations: 40.83 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1934, allocations: 0 / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.1936, allocations: 130.7 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.1936, allocations: 0 / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004502/0.1941, allocations: 181.5 kB / 0.9839 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1941, allocations: 132.5 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1942, allocations: 195.7 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1943, allocations: 33.69 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.1943, allocations: 127.8 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.1944, allocations: 39.69 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.1944, allocations: 4.062 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.1944, allocations: 330.8 kB / 0.9847 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1945, allocations: 39.97 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.1947, allocations: 156.5 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.195, allocations: 214.3 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.195, allocations: 4 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003445/0.1953, allocations: 213 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1953, allocations: 8 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1954, allocations: 7.984 kB / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1954, allocations: 4 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1955, allocations: 44.39 kB / 0.9853 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1955, allocations: 4 kB / 0.9854 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.1957, allocations: 35.77 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1957, allocations: 11.94 kB / 0.9854 GB, free: 21.53 MB / 0.6198 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 ($whenCondition2,sampleTrigger.y,$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 8.007e-05/0.1958, allocations: 141.6 kB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.1958, allocations: 15.81 kB / 0.9855 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.1958, allocations: 25.34 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1959, allocations: 3.984 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1959, allocations: 4 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.1959, allocations: 92.92 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.1959, allocations: 4 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.196, allocations: 15.98 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.1961, allocations: 19.91 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005037/0.1966, allocations: 482.9 kB / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000473/0.1971, allocations: 0.5901 MB / 0.9867 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001295/0.1972, allocations: 56.02 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.277e-05/0.1973, allocations: 144.4 kB / 0.9869 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of Backend: time 1.002e-06/0.1973, allocations: 0 / 0.9869 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006481/0.198, allocations: 170.5 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007611/0.1988, allocations: 0.8545 MB / 0.9879 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.004119/0.2029, allocations: 1.939 MB / 0.9898 GB, free: 16.92 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)