Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005612/0.005612, allocations: 103.6 kB / 15.74 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 196.5 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 251.7 MB / 0.5094 GB, free: 2.984 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 79.86 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.188, allocations: 104.7 MB / 0.828 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002601/0.1906, allocations: 1.813 MB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.1915, allocations: 0.5852 MB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.1916, allocations: 7.938 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.1917, allocations: 27.73 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.1918, allocations: 31.72 kB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.192, allocations: 67.8 kB / 0.8305 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1922, allocations: 171.5 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1923, allocations: 57.59 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.1924, allocations: 55.72 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.1925, allocations: 63.64 kB / 0.8308 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.1925, allocations: 11.98 kB / 0.8309 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.829e-05/0.1926, allocations: 15.94 kB / 0.8309 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.1926, allocations: 23.92 kB / 0.8309 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.1927, allocations: 67.53 kB / 0.831 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1928, allocations: 127.5 kB / 0.8311 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1928, allocations: 0 / 0.8311 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1928, allocations: 0 / 0.8311 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1929, allocations: 4 kB / 0.8311 GB, free: 13.04 MB / 0.6544 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.0006586/0.1935, allocations: 478.6 kB / 0.8315 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1936, allocations: 12.03 kB / 0.8316 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.1936, allocations: 20.66 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.1939, allocations: 236 kB / 0.8318 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1939, allocations: 8.375 kB / 0.8318 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.1939, allocations: 16.28 kB / 0.8318 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.1942, allocations: 147.8 kB / 0.832 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1942, allocations: 3.938 kB / 0.832 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1942, allocations: 8 kB / 0.832 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1942, allocations: 4 kB / 0.832 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.1944, allocations: 71.88 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008889/0.1953, allocations: 0.7353 MB / 0.8328 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.1955, allocations: 50.55 kB / 0.8328 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1956, allocations: 24.84 kB / 0.8328 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1957, allocations: 7.984 kB / 0.8328 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.1959, allocations: 130.6 kB / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.1959, allocations: 0 / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0004937/0.1964, allocations: 169.5 kB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.1965, allocations: 136.5 kB / 0.8333 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1967, allocations: 195 kB / 0.8334 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1967, allocations: 25.7 kB / 0.8335 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.1968, allocations: 139.6 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1968, allocations: 35.69 kB / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.1969, allocations: 33.72 kB / 0.8337 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.197, allocations: 338.8 kB / 0.834 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.1971, allocations: 35.97 kB / 0.834 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.1973, allocations: 156.9 kB / 0.8342 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.1976, allocations: 198.4 kB / 0.8344 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1976, allocations: 0 / 0.8344 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003538/0.1979, allocations: 205.1 kB / 0.8346 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1979, allocations: 4 kB / 0.8346 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.198, allocations: 4 kB / 0.8346 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.198, allocations: 8 kB / 0.8346 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1981, allocations: 39.91 kB / 0.8346 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1981, allocations: 8.438 kB / 0.8346 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.1983, allocations: 39.92 kB / 0.8347 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1983, allocations: 8 kB / 0.8347 GB, free: 8.984 MB / 0.6544 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 9.645e-05/0.1984, allocations: 134.2 kB / 0.8348 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.1984, allocations: 23.73 kB / 0.8348 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.1985, allocations: 21.64 kB / 0.8348 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1985, allocations: 7.984 kB / 0.8348 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1985, allocations: 0 / 0.8348 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1985, allocations: 0 / 0.8348 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.1991, allocations: 0.5133 MB / 0.8354 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1992, allocations: 3.938 kB / 0.8354 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1993, allocations: 15.98 kB / 0.8354 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1993, allocations: 0 / 0.8354 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1993, allocations: 7.984 kB / 0.8354 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1993, allocations: 4 kB / 0.8354 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1993, allocations: 7.875 kB / 0.8354 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.1997, allocations: 352.3 kB / 0.8357 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.1998, allocations: 100.9 kB / 0.8358 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1998, allocations: 4 kB / 0.8358 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.2, allocations: 8.031 kB / 0.8358 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.2, allocations: 23.86 kB / 0.8359 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.2001, allocations: 7.984 kB / 0.8359 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.475e-05/0.2002, allocations: 140.6 kB / 0.836 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2002, allocations: 0 / 0.836 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003026/0.2005, allocations: 28 kB / 0.836 GB, free: 7.488 MB / 0.6544 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.16e-05/0.2006, allocations: 107.2 kB / 0.8361 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003034/0.2009, allocations: 112.7 kB / 0.8362 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2009, allocations: 0 / 0.8362 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.201, allocations: 51.97 kB / 0.8363 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.2016, allocations: 70.67 kB / 0.8364 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.2021, allocations: 352.7 kB / 0.8367 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.2023, allocations: 0.7281 MB / 0.8374 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.229e-05/0.2024, allocations: 17.88 kB / 0.8374 GB, free: 6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.2025, allocations: 15.44 kB / 0.8374 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.2025, allocations: 4 kB / 0.8374 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.004376/0.2069, allocations: 2.035 MB / 0.8394 GB, free: 3.973 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)