Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 292.3 MB / 308.1 MB, free: 4.262 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.001303/0.001303, allocations: 187.9 kB / 376.9 MB, free: 1.824 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.31/1.31, allocations: 205 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008811/0.0008811, allocations: 102.4 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009936/0.0009941, allocations: 59.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2034, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003098/0.2066, allocations: 1.892 MB / 0.9841 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008859/0.2075, allocations: 0.5736 MB / 0.9846 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2076, allocations: 7.938 kB / 0.9846 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.2078, allocations: 11.86 kB / 0.9846 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/0.2079, allocations: 27.78 kB / 0.9847 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.2081, allocations: 51.95 kB / 0.9847 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.2083, allocations: 171.4 kB / 0.9849 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.2084, allocations: 45.66 kB / 0.9849 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.333e-05/0.2085, allocations: 51.72 kB / 0.985 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.2085, allocations: 59.64 kB / 0.985 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.2086, allocations: 4 kB / 0.985 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.2086, allocations: 8 kB / 0.985 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.2086, allocations: 23.91 kB / 0.9851 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.743e-05/0.2087, allocations: 71.53 kB / 0.9851 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.2088, allocations: 119.8 kB / 0.9852 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2089, allocations: 0 / 0.9852 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2089, allocations: 0 / 0.9852 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2089, allocations: 0 / 0.9852 GB, free: 7.285 MB / 0.7136 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.0006502/0.2095, allocations: 470.7 kB / 0.9857 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.2096, allocations: 12.03 kB / 0.9857 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.2096, allocations: 16.75 kB / 0.9857 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.2099, allocations: 239.8 kB / 0.9859 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.2099, allocations: 12.38 kB / 0.986 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.2099, allocations: 12.38 kB / 0.986 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.2102, allocations: 157 kB / 0.9861 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2102, allocations: 4 kB / 0.9861 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2103, allocations: 8 kB / 0.9861 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2103, allocations: 4 kB / 0.9861 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.2105, allocations: 71.81 kB / 0.9862 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/0.2113, allocations: 0.7392 MB / 0.9869 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.2115, allocations: 50.5 kB / 0.987 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.2116, allocations: 36.83 kB / 0.987 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.2116, allocations: 0 / 0.987 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.2119, allocations: 122.7 kB / 0.9871 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.2119, allocations: 0 / 0.9871 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0004409/0.2123, allocations: 169.5 kB / 0.9873 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.2124, allocations: 132.5 kB / 0.9874 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.2126, allocations: 203.6 kB / 0.9876 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.2126, allocations: 25.7 kB / 0.9876 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.2127, allocations: 127.9 kB / 0.9878 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.2127, allocations: 39.59 kB / 0.9878 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.2128, allocations: 45.77 kB / 0.9878 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2129, allocations: 326.8 kB / 0.9881 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.213, allocations: 35.97 kB / 0.9882 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.2132, allocations: 157.1 kB / 0.9883 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.2135, allocations: 202.3 kB / 0.9885 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2135, allocations: 0 / 0.9885 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003698/0.2139, allocations: 205.3 kB / 0.9887 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2139, allocations: 8 kB / 0.9887 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2139, allocations: 4 kB / 0.9887 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2139, allocations: 4.5 kB / 0.9887 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.214, allocations: 39.92 kB / 0.9888 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2141, allocations: 7.938 kB / 0.9888 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2142, allocations: 27.83 kB / 0.9888 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.2142, allocations: 12 kB / 0.9888 GB, free: 3.234 MB / 0.7136 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,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.2143, allocations: 141.6 kB / 0.989 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.2144, allocations: 15.81 kB / 0.989 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.2144, allocations: 21.39 kB / 0.989 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2144, allocations: 4 kB / 0.989 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2144, allocations: 4 kB / 0.989 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2144, allocations: 4.25 kB / 0.989 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006925/0.2151, allocations: 0.5132 MB / 0.9895 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2152, allocations: 0 / 0.9895 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.2153, allocations: 23.92 kB / 0.9895 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2153, allocations: 4 kB / 0.9895 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.2153, allocations: 0 / 0.9895 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2153, allocations: 7.938 kB / 0.9895 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2153, allocations: 3.938 kB / 0.9895 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.2167, allocations: 1.357 MB / 0.9909 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/0.2168, allocations: 88.92 kB / 0.9909 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2168, allocations: 8.031 kB / 0.991 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.2169, allocations: 19.98 kB / 0.991 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.217, allocations: 11.97 kB / 0.991 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.217, allocations: 7.984 kB / 0.991 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001137/0.2171, allocations: 144.6 kB / 0.9911 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2171, allocations: 0 / 0.9911 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003906/0.2175, allocations: 32 kB / 0.9912 GB, free: 0.5977 MB / 0.7136 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 0.0001093/0.2177, allocations: 111.2 kB / 0.9913 GB, free: 492 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003062/0.218, allocations: 111.8 kB / 0.9914 GB, free: 380 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.218, allocations: 4 kB / 0.9914 GB, free: 376 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.2181, allocations: 48.91 kB / 0.9914 GB, free: 328 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.2186, allocations: 64 kB / 0.9915 GB, free: 264 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.2194, allocations: 0.5166 MB / 0.992 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.2196, allocations: 0.7245 MB / 0.9927 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.589e-05/0.2197, allocations: 25.47 kB / 0.9927 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.2198, allocations: 15.44 kB / 0.9927 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.9e-07/0.2198, allocations: 0 / 0.9927 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.00423/0.224, allocations: 1.945 MB / 0.9946 GB, free: 12.97 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)