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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.274/1.274, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008842/0.0008842, allocations: 165 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007104/0.0007103, allocations: 85.94 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003099, allocations: 15.53 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1584, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.001611/0.1601, allocations: 1.543 MB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007671/0.1609, allocations: 0.585 MB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.161, allocations: 7.938 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.1611, allocations: 11.86 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.881e-05/0.1612, allocations: 23.78 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.1614, allocations: 59.92 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1616, allocations: 171.4 kB / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1617, allocations: 45.59 kB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/0.1617, allocations: 43.73 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.361e-05/0.1618, allocations: 55.62 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1618, allocations: 4 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.1619, allocations: 8 kB / 0.8992 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.1619, allocations: 19.92 kB / 0.8993 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.1619, allocations: 51.61 kB / 0.8993 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.675e-05/0.162, allocations: 115.5 kB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.162, allocations: 3.938 kB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.162, allocations: 0 / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.1621, allocations: 4 kB / 0.8994 GB, free: 65.41 MB / 0.6042 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.0005003/0.1626, allocations: 454.8 kB / 0.8999 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.1626, allocations: 8.031 kB / 0.8999 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.1627, allocations: 16.75 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.1628, allocations: 227.9 kB / 0.9001 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1628, allocations: 8.375 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.1629, allocations: 16.38 kB / 0.9001 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.1631, allocations: 165.2 kB / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1631, allocations: 0 / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1631, allocations: 4 kB / 0.9003 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1632, allocations: 4 kB / 0.9003 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.1634, allocations: 79.89 kB / 0.9004 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.164, allocations: 0.7469 MB / 0.9011 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1641, allocations: 62.42 kB / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.1642, allocations: 36.84 kB / 0.9012 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.1642, allocations: 4 kB / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.1644, allocations: 130.7 kB / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.1644, allocations: 0 / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003864/0.1648, allocations: 181.9 kB / 0.9015 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.1649, allocations: 132.5 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.165, allocations: 203.6 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.165, allocations: 25.7 kB / 0.9018 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.1651, allocations: 124.1 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1651, allocations: 43.45 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.1651, allocations: 25.7 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.1652, allocations: 342.8 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1653, allocations: 39.97 kB / 0.9024 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1654, allocations: 149.2 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.1657, allocations: 222.3 kB / 0.9027 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1657, allocations: 0 / 0.9027 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003175/0.166, allocations: 217.3 kB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.166, allocations: 8 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.166, allocations: 11.94 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1661, allocations: 4 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1662, allocations: 36.39 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1662, allocations: 11.92 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.1663, allocations: 31.83 kB / 0.903 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1663, allocations: 8 kB / 0.903 GB, free: 61.3 MB / 0.6042 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 6.861e-05/0.1664, allocations: 141.7 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.1664, allocations: 15.81 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.1665, allocations: 25.33 kB / 0.9032 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1665, allocations: 4 kB / 0.9032 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1665, allocations: 4 kB / 0.9032 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.1665, allocations: 92.91 kB / 0.9033 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.1665, allocations: 4 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1666, allocations: 15.98 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1667, allocations: 15.92 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004473/0.1671, allocations: 490.5 kB / 0.9038 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004094/0.1676, allocations: 0.5824 MB / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001167/0.1677, allocations: 63.94 kB / 0.9045 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.902e-05/0.1678, allocations: 144.4 kB / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of Backend: time 5.31e-07/0.1678, allocations: 0 / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005959/0.1684, allocations: 170.5 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006497/0.169, allocations: 0.8595 MB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.003689/0.1727, allocations: 2.014 MB / 0.9076 GB, free: 56.61 MB / 0.6042 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)