Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.0009865/0.0009865, allocations: 92.2 kB / 20.19 MB, free: 4.367 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.001132/0.001132, allocations: 173 kB / 23.5 MB, free: 1.059 MB / 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.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001712/0.001712, allocations: 236.7 kB / 260.5 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.784/0.784, allocations: 138.4 MB / 455.4 MB, free: 1.574 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.5551 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.629e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001341/0.001367, allocations: 0.6227 MB / 0.5557 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.002921, allocations: 1.474 MB / 0.5572 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.002961, allocations: 0 / 0.5572 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.713e-05/0.003029, allocations: 7.938 kB / 0.5572 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.003072, allocations: 3.984 kB / 0.5572 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.003864, allocations: 219.4 kB / 0.5574 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.707e-05/0.003951, allocations: 31.97 kB / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.003993, allocations: 7.984 kB / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.004034, allocations: 19.92 kB / 0.5574 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.004084, allocations: 15.97 kB / 0.5574 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.004096, allocations: 4 kB / 0.5574 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.004455, allocations: 259.5 kB / 0.5577 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.719e-05/0.004512, allocations: 11.92 kB / 0.5577 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.004548, allocations: 8 kB / 0.5577 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.004824, allocations: 271.3 kB / 0.558 GB, free: 13.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.004827, allocations: 4 kB / 0.558 GB, free: 13.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004828, allocations: 0 / 0.558 GB, free: 13.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.004833, allocations: 0 / 0.558 GB, free: 13.88 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003704/0.005203, allocations: 425.9 kB / 0.5584 GB, free: 13.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.005243, allocations: 12.75 kB / 0.5584 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.005289, allocations: 4.938 kB / 0.5584 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.005403, allocations: 124.5 kB / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.005415, allocations: 384 / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.005428, allocations: 8.312 kB / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.005565, allocations: 87.86 kB / 0.5586 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.005573, allocations: 4.188 kB / 0.5586 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.005583, allocations: 384 / 0.5586 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.005593, allocations: 3.938 kB / 0.5586 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.747e-05/0.00563, allocations: 49.69 kB / 0.5587 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.005746, allocations: 120.6 kB / 0.5588 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.824e-05/0.005814, allocations: 76.75 kB / 0.5589 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.49e-05/0.005859, allocations: 53.41 kB / 0.5589 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.005866, allocations: 3.938 kB / 0.5589 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.00589, allocations: 33.39 kB / 0.5589 GB, free: 12.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.005891, allocations: 0 / 0.5589 GB, free: 12.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002541/0.006145, allocations: 202.7 kB / 0.5591 GB, free: 12.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.006192, allocations: 85.05 kB / 0.5592 GB, free: 12.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.006281, allocations: 169.9 kB / 0.5594 GB, free: 12.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.006293, allocations: 29.69 kB / 0.5594 GB, free: 12.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.006341, allocations: 134.9 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.006377, allocations: 19.8 kB / 0.5596 GB, free: 12.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.006412, allocations: 31.36 kB / 0.5596 GB, free: 11.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.006526, allocations: 496.1 kB / 0.5601 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.43e-05/0.006571, allocations: 49.62 kB / 0.5601 GB, free: 11.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.006605, allocations: 49.69 kB / 0.5602 GB, free: 11.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.575e-05/0.006691, allocations: 107.7 kB / 0.5603 GB, free: 11.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.006694, allocations: 8.062 kB / 0.5603 GB, free: 11.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001239/0.006818, allocations: 157.1 kB / 0.5604 GB, free: 11.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.006854, allocations: 41.69 kB / 0.5605 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.00686, allocations: 0 / 0.5605 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.006875, allocations: 0 / 0.5605 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.006876, allocations: 0 / 0.5605 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.006883, allocations: 3.938 kB / 0.5605 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.47e-05/0.006948, allocations: 8 kB / 0.5605 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.006969, allocations: 7.984 kB / 0.5605 GB, free: 11.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.171e-05/0.007051, allocations: 194.2 kB / 0.5607 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.007066, allocations: 19.98 kB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.105e-05/0.007077, allocations: 4.438 kB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.007079, allocations: 0 / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.007084, allocations: 7.875 kB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.00709, allocations: 0 / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.412e-05/0.007174, allocations: 120.6 kB / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.007175, allocations: 0 / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-07/0.007176, allocations: 0 / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.007177, allocations: 4 kB / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.007186, allocations: 0 / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.007186, allocations: 0 / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007187, allocations: 8 kB / 0.5608 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.007376, allocations: 207.7 kB / 0.561 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.007387, allocations: 15.88 kB / 0.561 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.0074, allocations: 0 / 0.561 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.963e-05/0.00743, allocations: 11.98 kB / 0.561 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.007446, allocations: 3.938 kB / 0.561 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.007457, allocations: 11.94 kB / 0.5611 GB, free: 10.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.007498, allocations: 131.2 kB / 0.5612 GB, free: 10.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007498, allocations: 0 / 0.5612 GB, free: 10.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.007743, allocations: 67.94 kB / 0.5612 GB, free: 10.14 MB / 490.7 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002479/0.00799, allocations: 171.1 kB / 0.5614 GB, free: 9.965 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.008169, allocations: 186.4 kB / 0.5616 GB, free: 9.754 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.008171, allocations: 0 / 0.5616 GB, free: 9.754 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.008243, allocations: 132.8 kB / 0.5617 GB, free: 9.602 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.008365, allocations: 8 kB / 0.5617 GB, free: 9.594 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.008627, allocations: 178.4 kB / 0.5619 GB, free: 9.387 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.309e-05/0.00866, allocations: 63.28 kB / 0.5619 GB, free: 9.305 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.232e-06/0.008666, allocations: 7.984 kB / 0.562 GB, free: 9.297 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.008679, allocations: 12.44 kB / 0.562 GB, free: 9.285 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/0.00868, allocations: 4.125 kB / 0.562 GB, free: 9.281 MB / 490.7 MB Notification: Performance of Templates: time 0.003924/0.0126, allocations: 2.14 MB / 0.5641 GB, free: 7.16 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8243033960461617]