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 3.17/3.17, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.002253/0.002253, allocations: 181 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001134/0.001134, allocations: 97.77 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004963, allocations: 12.48 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002295/0.2174, allocations: 1.484 MB / 0.9796 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2186, allocations: 0.5468 MB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.2188, allocations: 3.938 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.2188, allocations: 7.922 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.219, allocations: 31.89 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.2193, allocations: 59.8 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.2195, allocations: 115.8 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.2197, allocations: 37.83 kB / 0.9804 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.2198, allocations: 39.8 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.114e-05/0.2199, allocations: 43.72 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.22, allocations: 8 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.376e-05/0.22, allocations: 4 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.22, allocations: 19.91 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.2201, allocations: 45.64 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.2202, allocations: 91.98 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2203, allocations: 0 / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2203, allocations: 0 / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2203, allocations: 0 / 0.9807 GB, free: 25.8 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.0008115/0.2211, allocations: 454.7 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2212, allocations: 16.02 kB / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.2212, allocations: 19.77 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.2215, allocations: 226.7 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2216, allocations: 8 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.2216, allocations: 15.91 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.222, allocations: 156.5 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2221, allocations: 0 / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.2221, allocations: 4 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2221, allocations: 0 / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.2225, allocations: 93.72 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.2237, allocations: 0.7317 MB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.2239, allocations: 58.5 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.224, allocations: 0 / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003605/0.2243, allocations: 134.8 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.264e-06/0.2244, allocations: 8 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0007223/0.2251, allocations: 177.4 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.2252, allocations: 136.8 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.2254, allocations: 195.7 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.2254, allocations: 33.64 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.2255, allocations: 139.7 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.2256, allocations: 27.56 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.2256, allocations: 4 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.2257, allocations: 334.8 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2259, allocations: 48.34 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.2261, allocations: 139.3 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.2264, allocations: 67.91 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2264, allocations: 0 / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006321/0.227, allocations: 213.4 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.2271, allocations: 8 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.2271, allocations: 12.05 kB / 0.984 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.2271, allocations: 4 kB / 0.984 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.2274, allocations: 39.92 kB / 0.984 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.2274, allocations: 7.953 kB / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.2276, allocations: 31.98 kB / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.2277, allocations: 12 kB / 0.9841 GB, free: 21.98 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 0.000131/0.2278, allocations: 133.8 kB / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.2279, allocations: 19.72 kB / 0.9842 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.2279, allocations: 17.64 kB / 0.9842 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2279, allocations: 4 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.228, allocations: 7.969 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.228, allocations: 7.953 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.229, allocations: 0.5249 MB / 0.9848 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2291, allocations: 7.938 kB / 0.9848 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.2293, allocations: 23.98 kB / 0.9848 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.2293, allocations: 0 / 0.9848 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.2293, allocations: 7.953 kB / 0.9848 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.259e-06/0.2293, allocations: 0 / 0.9848 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2294, allocations: 4 kB / 0.9848 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.2301, allocations: 413.2 kB / 0.9852 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.2301, allocations: 92.92 kB / 0.9853 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.2302, allocations: 8.031 kB / 0.9853 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.2305, allocations: 15.98 kB / 0.9853 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.2306, allocations: 15.98 kB / 0.9853 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.2306, allocations: 8 kB / 0.9853 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001524/0.2308, allocations: 140.4 kB / 0.9855 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2308, allocations: 0 / 0.9855 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004524/0.2312, allocations: 28 kB / 0.9855 GB, free: 20.4 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.2314, allocations: 120 kB / 0.9856 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.2319, allocations: 119.8 kB / 0.9857 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.2319, allocations: 0 / 0.9857 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.2321, allocations: 60.97 kB / 0.9858 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.2328, allocations: 64.09 kB / 0.9858 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007002/0.2335, allocations: 378.7 kB / 0.9862 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.2337, allocations: 0.7284 MB / 0.9869 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.2338, allocations: 17.88 kB / 0.9869 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.2339, allocations: 15.44 kB / 0.9869 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/0.2339, allocations: 0 / 0.9869 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.006195/0.2401, allocations: 1.749 MB / 0.9887 GB, free: 17.12 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)