Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.102/2.102, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0.5469 kB / 0.7752 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.309e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003256/0.003279, allocations: 1.873 MB / 0.777 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.004573, allocations: 0.7137 MB / 0.7777 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.184e-05/0.004655, allocations: 5.469 kB / 0.7777 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.652e-05/0.004702, allocations: 11.86 kB / 0.7778 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.342e-05/0.004785, allocations: 15.48 kB / 0.7778 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.00534, allocations: 179.5 kB / 0.7779 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.005536, allocations: 132.9 kB / 0.7781 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.005683, allocations: 54.95 kB / 0.7781 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.005897, allocations: 83.8 kB / 0.7782 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.006016, allocations: 36.58 kB / 0.7782 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.006042, allocations: 12.75 kB / 0.7782 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.006178, allocations: 55.95 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.006209, allocations: 23.91 kB / 0.7783 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.006252, allocations: 45.67 kB / 0.7784 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.006471, allocations: 143.4 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.006474, allocations: 0 / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.52e-07/0.006475, allocations: 0 / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.006479, allocations: 4.5 kB / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004308/0.00691, allocations: 328.9 kB / 0.7788 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.00695, allocations: 16.91 kB / 0.7788 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005836/0.007533, allocations: 104.8 kB / 0.7789 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.00774, allocations: 134.9 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.007861, allocations: 111.4 kB / 0.7792 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.007882, allocations: 16.31 kB / 0.7792 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.008103, allocations: 189.2 kB / 0.7794 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.008112, allocations: 0 / 0.7794 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.008126, allocations: 4 kB / 0.7794 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.008132, allocations: 4 kB / 0.7794 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.533e-05/0.008187, allocations: 35.97 kB / 0.7794 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.008759, allocations: 282.3 kB / 0.7797 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.009113, allocations: 119.9 kB / 0.7798 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.009155, allocations: 24.8 kB / 0.7798 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.009173, allocations: 8.812 kB / 0.7798 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.009198, allocations: 38.67 kB / 0.7799 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.0092, allocations: 1.062 kB / 0.7799 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001754/0.009375, allocations: 81.86 kB / 0.7799 GB, free: 416 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.009401, allocations: 51.91 kB / 0.78 GB, free: 352 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.009478, allocations: 148.8 kB / 0.7801 GB, free: 192 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.009497, allocations: 26.23 kB / 0.7802 GB, free: 160 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.009541, allocations: 105 kB / 0.7803 GB, free: 52 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.009563, allocations: 31.77 kB / 0.7803 GB, free: 20 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.009613, allocations: 22.58 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.009687, allocations: 318.8 kB / 0.7806 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/0.009719, allocations: 25.72 kB / 0.7806 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.009757, allocations: 34.58 kB / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.834e-05/0.009825, allocations: 54.55 kB / 0.7807 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009827, allocations: 1.594 kB / 0.7807 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002412/0.01007, allocations: 81.61 kB / 0.7808 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.01008, allocations: 7.938 kB / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01009, allocations: 0.8125 kB / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.0101, allocations: 4 kB / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01021, allocations: 24.84 kB / 0.7808 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.01021, allocations: 8.5 kB / 0.7808 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/0.01027, allocations: 16.81 kB / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.01028, allocations: 4 kB / 0.7809 GB, free: 15.39 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.477e-05/0.01034, allocations: 114.7 kB / 0.781 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.01037, allocations: 7.984 kB / 0.781 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.01051, allocations: 92.36 kB / 0.7811 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01051, allocations: 4 kB / 0.7811 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01052, allocations: 3.938 kB / 0.7811 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01052, allocations: 4.984 kB / 0.7811 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.01064, allocations: 101.8 kB / 0.7812 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01064, allocations: 0.875 kB / 0.7812 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.01072, allocations: 23.97 kB / 0.7812 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01072, allocations: 1.094 kB / 0.7812 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.01072, allocations: 0 / 0.7812 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01073, allocations: 4.109 kB / 0.7812 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01073, allocations: 4.938 kB / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.01085, allocations: 179.3 kB / 0.7814 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.01085, allocations: 8.672 kB / 0.7814 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.01087, allocations: 4 kB / 0.7814 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.01095, allocations: 12.67 kB / 0.7814 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.01098, allocations: 9.109 kB / 0.7814 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.011, allocations: 7.984 kB / 0.7814 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.432e-05/0.01102, allocations: 34.45 kB / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01102, allocations: 1.469 kB / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001441/0.01116, allocations: 20 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 9.538e-05/0.01126, allocations: 85.94 kB / 0.7816 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.865e-05/0.01136, allocations: 48.94 kB / 0.7816 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.01136, allocations: 8 kB / 0.7816 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.0114, allocations: 30.41 kB / 0.7816 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.01156, allocations: 23.91 kB / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.01199, allocations: 223.1 kB / 0.7819 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.821e-05/0.01203, allocations: 63.34 kB / 0.7819 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.039e-05/0.01209, allocations: 19.42 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.01223, allocations: 79.3 kB / 0.782 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01223, allocations: 4 kB / 0.782 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of Templates: time 0.003274/0.0155, allocations: 1.634 MB / 0.7836 GB, free: 12.55 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.305113698821515]