Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001301/0.001301, allocations: 78.81 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001425/0.001425, allocations: 169.2 kB / 23.21 MB, free: 4.887 MB / 14.72 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.38/1.38, allocations: 177.1 MB / 203.5 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.908/0.908, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5547 GB, free: 2.602 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.699e-05, allocations: 2.781 kB / 0.5547 GB, free: 2.598 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002959/0.002986, allocations: 1.758 MB / 0.5564 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.004229, allocations: 0.7009 MB / 0.5571 GB, free: 136 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.004303, allocations: 0 / 0.5571 GB, free: 136 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.616e-05/0.004339, allocations: 19.86 kB / 0.5571 GB, free: 116 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.004409, allocations: 15.75 kB / 0.5571 GB, free: 100 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000589/0.004998, allocations: 185.4 kB / 0.5573 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.005198, allocations: 135.5 kB / 0.5574 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.005327, allocations: 29.62 kB / 0.5575 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.00552, allocations: 87.84 kB / 0.5575 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.005601, allocations: 35.89 kB / 0.5576 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.005651, allocations: 12 kB / 0.5576 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.005778, allocations: 51.89 kB / 0.5576 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.005816, allocations: 31.89 kB / 0.5577 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.005872, allocations: 35.91 kB / 0.5577 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.006157, allocations: 175.4 kB / 0.5579 GB, free: 15.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.006159, allocations: 0 / 0.5579 GB, free: 15.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00616, allocations: 4 kB / 0.5579 GB, free: 15.33 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.006165, allocations: 0 / 0.5579 GB, free: 15.33 MB / 478.1 MB 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.0006277/0.006793, allocations: 365.6 kB / 0.5582 GB, free: 14.95 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.006828, allocations: 8.625 kB / 0.5582 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.007837, allocations: 132.7 kB / 0.5584 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.008144, allocations: 162.1 kB / 0.5585 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.008276, allocations: 115.4 kB / 0.5586 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.008299, allocations: 8.312 kB / 0.5586 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.008923, allocations: 225.2 kB / 0.5588 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.008933, allocations: 4 kB / 0.5589 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.008958, allocations: 11.94 kB / 0.5589 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.008963, allocations: 0 / 0.5589 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006632/0.009626, allocations: 151.8 kB / 0.559 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.01071, allocations: 398 kB / 0.5594 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.0118, allocations: 218.3 kB / 0.5596 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003144/0.01211, allocations: 76.91 kB / 0.5597 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.01214, allocations: 3.938 kB / 0.5597 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.01217, allocations: 34.56 kB / 0.5597 GB, free: 13.31 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.01218, allocations: 0 / 0.5597 GB, free: 13.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.001112/0.01329, allocations: 257.4 kB / 0.56 GB, free: 13.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.01333, allocations: 59.34 kB / 0.56 GB, free: 12.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.01349, allocations: 145 kB / 0.5601 GB, free: 12.83 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.01353, allocations: 29.7 kB / 0.5602 GB, free: 12.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.01363, allocations: 116.2 kB / 0.5603 GB, free: 12.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.01366, allocations: 19.83 kB / 0.5603 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.01373, allocations: 25.7 kB / 0.5603 GB, free: 12.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.0139, allocations: 322.8 kB / 0.5606 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.01422, allocations: 67.92 kB / 0.5607 GB, free: 12.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.01456, allocations: 102.4 kB / 0.5608 GB, free: 12.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.01521, allocations: 162.7 kB / 0.561 GB, free: 11.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01521, allocations: 0 / 0.561 GB, free: 11.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007315/0.01594, allocations: 205.4 kB / 0.5611 GB, free: 11.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.01596, allocations: 9.875 kB / 0.5612 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01596, allocations: 0 / 0.5612 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.01599, allocations: 3.938 kB / 0.5612 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.01627, allocations: 51.89 kB / 0.5612 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.01627, allocations: 0 / 0.5612 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.01646, allocations: 19.97 kB / 0.5612 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.01649, allocations: 7.984 kB / 0.5612 GB, free: 11.66 MB / 478.1 MB 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 0.0001227/0.01661, allocations: 121.8 kB / 0.5614 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.01666, allocations: 7.953 kB / 0.5614 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000784/0.01744, allocations: 206.2 kB / 0.5616 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.01745, allocations: 3.938 kB / 0.5616 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01745, allocations: 0 / 0.5616 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01746, allocations: 0 / 0.5616 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.0177, allocations: 162 kB / 0.5617 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.0177, allocations: 8 kB / 0.5617 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.01793, allocations: 35.94 kB / 0.5618 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01793, allocations: 4 kB / 0.5618 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.01795, allocations: 0 / 0.5618 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01795, allocations: 0 / 0.5618 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01795, allocations: 3.938 kB / 0.5618 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.01872, allocations: 291.4 kB / 0.562 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.01874, allocations: 11.89 kB / 0.5621 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.01876, allocations: 3.938 kB / 0.5621 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.01908, allocations: 31.95 kB / 0.5621 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.01912, allocations: 11.92 kB / 0.5621 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.01915, allocations: 7.984 kB / 0.5621 GB, free: 10.71 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.592e-05/0.01922, allocations: 103.3 kB / 0.5622 GB, free: 10.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01922, allocations: 4 kB / 0.5622 GB, free: 10.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000259/0.01948, allocations: 23.95 kB / 0.5622 GB, free: 10.58 MB / 478.1 MB 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 0.0001518/0.01963, allocations: 99.23 kB / 0.5623 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006974/0.02033, allocations: 163.8 kB / 0.5625 GB, free: 10.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.02033, allocations: 0 / 0.5625 GB, free: 10.31 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.02067, allocations: 79.92 kB / 0.5626 GB, free: 10.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.02097, allocations: 8 kB / 0.5626 GB, free: 10.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/0.02173, allocations: 253.5 kB / 0.5628 GB, free: 9.949 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.533e-05/0.02182, allocations: 89.44 kB / 0.5629 GB, free: 9.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.038e-05/0.02191, allocations: 23.92 kB / 0.5629 GB, free: 9.816 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.02199, allocations: 24.42 kB / 0.5629 GB, free: 9.793 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.02199, allocations: 0 / 0.5629 GB, free: 9.793 MB / 478.1 MB Notification: Performance of Templates: time 0.004613/0.0266, allocations: 1.528 MB / 0.5644 GB, free: 8.285 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.12255896627903] Failed to read output from testmodel.py, exit status != 0: 0.03527972847223282 0.05045450499999994 0.04114979199999994 Calling exit ...