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.001387/0.001387, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001572/0.001572, allocations: 165 kB / 23.02 MB, free: 1.551 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.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.002542/0.002542, allocations: 236.9 kB / 260.2 MB, free: 12.82 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.7295/0.7295, allocations: 138.4 MB / 455.2 MB, free: 1.52 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.383e-06/1.383e-06, allocations: 0 / 0.5552 GB, free: 448 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.153e-05, allocations: 6.312 kB / 0.5552 GB, free: 440 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.004393/0.004415, allocations: 0.6235 MB / 0.5558 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.006178, allocations: 1.478 MB / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.006205, allocations: 0 / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.914e-05/0.006264, allocations: 0 / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.908e-05/0.006313, allocations: 4 kB / 0.5572 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.006945, allocations: 227.4 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.007026, allocations: 31.91 kB / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.00706, allocations: 4 kB / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.007103, allocations: 15.98 kB / 0.5575 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.007148, allocations: 19.97 kB / 0.5575 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.007161, allocations: 4 kB / 0.5575 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.00754, allocations: 263.5 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.007577, allocations: 7.984 kB / 0.5578 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.007606, allocations: 15.92 kB / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.007916, allocations: 259.4 kB / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.007918, allocations: 4 kB / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007919, allocations: 0 / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.007923, allocations: 0 / 0.5581 GB, free: 13.47 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.0006216/0.008545, allocations: 437.8 kB / 0.5585 GB, free: 13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.008586, allocations: 12.75 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.008625, allocations: 4.938 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.963e-05/0.008715, allocations: 120.5 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.008726, allocations: 384 / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.008739, allocations: 4.375 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.00887, allocations: 91.91 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.008878, allocations: 4.188 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-06/0.008887, allocations: 384 / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.008894, allocations: 3.938 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.00893, allocations: 49.69 kB / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.912e-05/0.009029, allocations: 120.6 kB / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.85e-05/0.009088, allocations: 76.69 kB / 0.5589 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.009125, allocations: 57.41 kB / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-06/0.009129, allocations: 0 / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.009148, allocations: 33.39 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 6.21e-07/0.009149, allocations: 0 / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002584/0.009407, allocations: 198.7 kB / 0.5592 GB, free: 12.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.009448, allocations: 85.05 kB / 0.5593 GB, free: 12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.647e-05/0.009535, allocations: 173.9 kB / 0.5595 GB, free: 11.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.009546, allocations: 25.7 kB / 0.5595 GB, free: 11.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.00959, allocations: 142.8 kB / 0.5596 GB, free: 11.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.009621, allocations: 23.94 kB / 0.5596 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.009654, allocations: 27.38 kB / 0.5597 GB, free: 11.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.009757, allocations: 496.1 kB / 0.5601 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/0.009795, allocations: 49.69 kB / 0.5602 GB, free: 11.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.009825, allocations: 45.69 kB / 0.5602 GB, free: 10.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.401e-05/0.009899, allocations: 107.1 kB / 0.5603 GB, free: 10.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.009901, allocations: 4.031 kB / 0.5603 GB, free: 10.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001118/0.01001, allocations: 153 kB / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.01004, allocations: 33.7 kB / 0.5605 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01004, allocations: 3.984 kB / 0.5605 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.01006, allocations: 0 / 0.5605 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-06/0.01006, allocations: 3.938 kB / 0.5605 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01007, allocations: 7.875 kB / 0.5605 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.01012, allocations: 4 kB / 0.5605 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.01014, allocations: 12 kB / 0.5606 GB, free: 10.61 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 0.000207/0.01034, allocations: 190.3 kB / 0.5607 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.01036, allocations: 15.98 kB / 0.5607 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.285e-05/0.01037, allocations: 8.422 kB / 0.5608 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01037, allocations: 3.984 kB / 0.5608 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01037, allocations: 3.938 kB / 0.5608 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.01038, allocations: 0 / 0.5608 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.886e-05/0.01044, allocations: 124.6 kB / 0.5609 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.01044, allocations: 0 / 0.5609 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-07/0.01044, allocations: 0 / 0.5609 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01044, allocations: 4 kB / 0.5609 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.01045, allocations: 4 kB / 0.5609 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.01045, allocations: 0 / 0.5609 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01045, allocations: 8 kB / 0.5609 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.01059, allocations: 208.2 kB / 0.5611 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.0106, allocations: 11.89 kB / 0.5611 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.01061, allocations: 0 / 0.5611 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.01063, allocations: 11.98 kB / 0.5611 GB, free: 9.945 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.01064, allocations: 4 kB / 0.5611 GB, free: 9.941 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.01065, allocations: 7.938 kB / 0.5611 GB, free: 9.934 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.437e-05/0.01069, allocations: 135.2 kB / 0.5613 GB, free: 9.801 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01069, allocations: 0 / 0.5613 GB, free: 9.801 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001859/0.01087, allocations: 71.94 kB / 0.5613 GB, free: 9.73 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.0002036/0.01108, allocations: 175.1 kB / 0.5615 GB, free: 9.547 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.01124, allocations: 182.4 kB / 0.5617 GB, free: 9.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01124, allocations: 0 / 0.5617 GB, free: 9.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.431e-05/0.0113, allocations: 132.8 kB / 0.5618 GB, free: 9.188 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.01142, allocations: 11.98 kB / 0.5618 GB, free: 9.176 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.01165, allocations: 182.3 kB / 0.562 GB, free: 8.965 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.01169, allocations: 63.28 kB / 0.562 GB, free: 8.883 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.34e-06/0.01169, allocations: 4 kB / 0.562 GB, free: 8.879 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.01171, allocations: 8.625 kB / 0.5621 GB, free: 8.871 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01171, allocations: 4 kB / 0.5621 GB, free: 8.867 MB / 490.7 MB Notification: Performance of Templates: time 0.003364/0.01507, allocations: 2.143 MB / 0.5642 GB, free: 6.746 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.8855311600491405]