Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001198/0.001198, allocations: 191.8 kB / 371.9 MB, free: 10.27 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.536/1.536, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0008055/0.0008057, allocations: 102.8 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 12.66 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2018, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.001721/0.2035, allocations: 1.477 MB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.2043, allocations: 0.5543 MB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.2044, allocations: 0 / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.2044, allocations: 11.86 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.2045, allocations: 31.89 kB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.2047, allocations: 59.86 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.2049, allocations: 111.8 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.205, allocations: 29.86 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.2051, allocations: 51.77 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.2051, allocations: 43.72 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.2052, allocations: 4 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.601e-05/0.2052, allocations: 4 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.2052, allocations: 23.84 kB / 0.9818 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.2053, allocations: 49.64 kB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.377e-05/0.2053, allocations: 88.05 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.2054, allocations: 0 / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2054, allocations: 0 / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2054, allocations: 0 / 0.9819 GB, free: 25.14 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.0005945/0.206, allocations: 463.5 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.206, allocations: 8.031 kB / 0.9823 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.299e-05/0.2061, allocations: 15.81 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.2063, allocations: 222.7 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.2063, allocations: 12 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.2064, allocations: 19.91 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.2066, allocations: 144.5 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2067, allocations: 0 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2067, allocations: 15.98 kB / 0.9827 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2067, allocations: 8 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.2069, allocations: 79.83 kB / 0.9828 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007638/0.2077, allocations: 0.7433 MB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.2078, allocations: 50.56 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.2079, allocations: 4 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.2081, allocations: 138.6 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.2081, allocations: 0 / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004299/0.2086, allocations: 181.5 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.2086, allocations: 136.5 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2087, allocations: 199.6 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.2088, allocations: 29.7 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.2088, allocations: 135.9 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.2089, allocations: 31.56 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.2089, allocations: 0 / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.712e-05/0.2089, allocations: 342.8 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2091, allocations: 40.34 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.2092, allocations: 149.7 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.2093, allocations: 67.91 kB / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2094, allocations: 0 / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003402/0.2097, allocations: 209.4 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2097, allocations: 9.875 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.2097, allocations: 7.984 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2098, allocations: 8 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.2099, allocations: 31.92 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2099, allocations: 7.938 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.2101, allocations: 43.97 kB / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2101, allocations: 8 kB / 0.9853 GB, free: 21.31 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 7.706e-05/0.2102, allocations: 133.8 kB / 0.9854 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.2102, allocations: 19.72 kB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.2102, allocations: 25.34 kB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2103, allocations: 0 / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2103, allocations: 7.984 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2103, allocations: 4 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006278/0.2109, allocations: 0.5252 MB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2109, allocations: 4 kB / 0.986 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.211, allocations: 19.92 kB / 0.986 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2111, allocations: 4.047 kB / 0.986 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.2111, allocations: 7.984 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2111, allocations: 7.953 kB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2111, allocations: 0 / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.2115, allocations: 409.5 kB / 0.9864 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.2116, allocations: 92.92 kB / 0.9865 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.2116, allocations: 4.047 kB / 0.9865 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.2118, allocations: 23.97 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.2118, allocations: 19.92 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.2119, allocations: 4 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.717e-05/0.2119, allocations: 144.4 kB / 0.9867 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2119, allocations: 0 / 0.9867 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003147/0.2123, allocations: 28 kB / 0.9867 GB, free: 19.72 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.0001008/0.2124, allocations: 103.2 kB / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.2127, allocations: 127.8 kB / 0.987 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2127, allocations: 4.938 kB / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.2128, allocations: 56.03 kB / 0.987 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.2132, allocations: 52.59 kB / 0.9871 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.2137, allocations: 386.7 kB / 0.9874 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.2138, allocations: 0.7323 MB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.639e-05/0.2139, allocations: 13.55 kB / 0.9882 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.2139, allocations: 19.44 kB / 0.9882 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.214, allocations: 0 / 0.9882 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.003723/0.2177, allocations: 1.741 MB / 0.9899 GB, free: 16.46 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)