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.566/1.566, allocations: 288.4 MB / 304.3 MB, free: 8.168 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.0009292/0.0009293, allocations: 185.8 kB / 372.9 MB, free: 10.13 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.553/1.553, allocations: 205.4 MB / 0.6316 GB, free: 9.863 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.0009325/0.0009326, allocations: 100.1 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 12.97 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.215, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.001898/0.217, allocations: 1.488 MB / 0.9822 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008682/0.2179, allocations: 0.562 MB / 0.9827 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.218, allocations: 0 / 0.9827 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.2181, allocations: 19.8 kB / 0.9828 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.2182, allocations: 11.88 kB / 0.9828 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.2185, allocations: 55.86 kB / 0.9828 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.2187, allocations: 151.5 kB / 0.983 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.2188, allocations: 49.64 kB / 0.983 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.85e-05/0.2189, allocations: 43.78 kB / 0.9831 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.801e-05/0.219, allocations: 43.72 kB / 0.9831 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.219, allocations: 4 kB / 0.9831 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.2191, allocations: 4 kB / 0.9831 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.2191, allocations: 19.86 kB / 0.9831 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.349e-05/0.2192, allocations: 81.36 kB / 0.9832 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.2193, allocations: 92.05 kB / 0.9833 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2193, allocations: 4 kB / 0.9833 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2193, allocations: 0 / 0.9833 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.2193, allocations: 0 / 0.9833 GB, free: 24.69 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.0006459/0.22, allocations: 458.7 kB / 0.9837 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.22, allocations: 8.031 kB / 0.9837 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.2201, allocations: 16.75 kB / 0.9838 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.2203, allocations: 227.9 kB / 0.984 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.2204, allocations: 16.31 kB / 0.984 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.2204, allocations: 16.38 kB / 0.984 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.2207, allocations: 154.2 kB / 0.9842 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2207, allocations: 3.938 kB / 0.9842 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2207, allocations: 4 kB / 0.9842 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2207, allocations: 4 kB / 0.9842 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.2209, allocations: 87.88 kB / 0.9842 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007316/0.2217, allocations: 0.7392 MB / 0.985 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.2218, allocations: 54.5 kB / 0.985 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.512e-05/0.2219, allocations: 40.83 kB / 0.9851 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.2219, allocations: 0 / 0.9851 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.2222, allocations: 130.7 kB / 0.9852 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.2222, allocations: 4 kB / 0.9852 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004377/0.2226, allocations: 181.5 kB / 0.9854 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.2227, allocations: 136.5 kB / 0.9855 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.2228, allocations: 195 kB / 0.9857 GB, free: 22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.2228, allocations: 29.7 kB / 0.9857 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.2229, allocations: 131.9 kB / 0.9858 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.2229, allocations: 35.55 kB / 0.9859 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.2229, allocations: 4 kB / 0.9859 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/0.223, allocations: 326.8 kB / 0.9862 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.2231, allocations: 43.97 kB / 0.9862 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.2232, allocations: 156.2 kB / 0.9864 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.2235, allocations: 214.2 kB / 0.9866 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2235, allocations: 4 kB / 0.9866 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003149/0.2238, allocations: 213.3 kB / 0.9868 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2238, allocations: 8 kB / 0.9868 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2239, allocations: 7.938 kB / 0.9868 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2239, allocations: 4 kB / 0.9868 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.224, allocations: 35.92 kB / 0.9868 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.224, allocations: 11.92 kB / 0.9868 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.2241, allocations: 36.02 kB / 0.9869 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.2242, allocations: 16 kB / 0.9869 GB, free: 20.62 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 8.307e-05/0.2243, allocations: 133.7 kB / 0.987 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.2243, allocations: 15.81 kB / 0.987 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.2243, allocations: 25.39 kB / 0.9871 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2243, allocations: 0 / 0.9871 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2243, allocations: 0 / 0.9871 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.2244, allocations: 88.92 kB / 0.9871 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.2244, allocations: 12 kB / 0.9872 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.2245, allocations: 19.97 kB / 0.9872 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.2246, allocations: 15.92 kB / 0.9872 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000474/0.2251, allocations: 486.6 kB / 0.9877 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004484/0.2255, allocations: 0.594 MB / 0.9882 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001229/0.2256, allocations: 52.27 kB / 0.9883 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.379e-05/0.2257, allocations: 148.3 kB / 0.9884 GB, free: 19 MB / 0.6198 GB Notification: Performance of Backend: time 4.11e-07/0.2257, allocations: 0 / 0.9884 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006468/0.2264, allocations: 167 kB / 0.9886 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007706/0.2272, allocations: 0.862 MB / 0.9894 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.003775/0.231, allocations: 1.951 MB / 0.9913 GB, free: 16 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)