Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.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.0009781/0.0009781, 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.0009672/0.0009672, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9569/0.9569, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.001666/0.001666, allocations: 241 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.7983/0.7983, allocations: 138.4 MB / 455.2 MB, free: 1.527 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.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5552 GB, free: 460 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.344e-05, allocations: 2.312 kB / 0.5552 GB, free: 456 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.001949/0.001972, allocations: 1.558 MB / 0.5567 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009394/0.002912, allocations: 0.74 MB / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.002945, allocations: 0 / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.003154, allocations: 131.7 kB / 0.5575 GB, free: 14 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.003234, allocations: 79.75 kB / 0.5576 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.003732, allocations: 187.4 kB / 0.5578 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.372e-05/0.003826, allocations: 63.81 kB / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.00386, allocations: 3.984 kB / 0.5579 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.003915, allocations: 43.95 kB / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.742e-05/0.004012, allocations: 87.83 kB / 0.558 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.004026, allocations: 4 kB / 0.558 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.004321, allocations: 235.6 kB / 0.5582 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.004401, allocations: 63.83 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.004438, allocations: 31.86 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.004726, allocations: 299.2 kB / 0.5586 GB, free: 12.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004728, allocations: 0 / 0.5586 GB, free: 12.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004729, allocations: 0 / 0.5586 GB, free: 12.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.004733, allocations: 3.938 kB / 0.5586 GB, free: 12.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004777/0.005211, allocations: 0.5343 MB / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.005247, allocations: 8.75 kB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.005291, allocations: 24.78 kB / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.005444, allocations: 192.7 kB / 0.5593 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.005458, allocations: 4.375 kB / 0.5593 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.00547, allocations: 384 / 0.5593 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.005587, allocations: 50.95 kB / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.005598, allocations: 192 / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.005607, allocations: 384 / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.005616, allocations: 7.938 kB / 0.5594 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.019e-05/0.005646, allocations: 7.984 kB / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.006014, allocations: 347.7 kB / 0.5597 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.529e-05/0.00607, allocations: 35.05 kB / 0.5598 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.006091, allocations: 11.75 kB / 0.5598 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.027e-05/0.006141, allocations: 15.98 kB / 0.5598 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.006163, allocations: 37.33 kB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.006164, allocations: 4 kB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001549/0.006319, allocations: 61.5 kB / 0.5599 GB, free: 11.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.006343, allocations: 51.41 kB / 0.5599 GB, free: 11.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.006563, allocations: 362.4 kB / 0.5603 GB, free: 11.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.006572, allocations: 29.7 kB / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/0.006653, allocations: 194.8 kB / 0.5605 GB, free: 10.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.006663, allocations: 3.953 kB / 0.5605 GB, free: 10.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.006699, allocations: 39.36 kB / 0.5605 GB, free: 10.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.006816, allocations: 0.5118 MB / 0.561 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.006842, allocations: 16 kB / 0.5611 GB, free: 10.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.006861, allocations: 16 kB / 0.5611 GB, free: 10.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.408e-05/0.006915, allocations: 59.19 kB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006917, allocations: 0 / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001103/0.007027, allocations: 113.4 kB / 0.5612 GB, free: 10 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.00704, allocations: 15.88 kB / 0.5613 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.007045, allocations: 0 / 0.5613 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.007059, allocations: 96 / 0.5613 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.007125, allocations: 7.984 kB / 0.5613 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.00713, allocations: 4 kB / 0.5613 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.007157, allocations: 11.89 kB / 0.5613 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.007163, allocations: 3.984 kB / 0.5613 GB, free: 9.961 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.534e-05/0.007229, allocations: 152.6 kB / 0.5614 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.007255, allocations: 27.75 kB / 0.5615 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.066e-05/0.007345, allocations: 62.72 kB / 0.5615 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.007347, allocations: 4.031 kB / 0.5615 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.007351, allocations: 0 / 0.5615 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.007354, allocations: 3.984 kB / 0.5615 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.007485, allocations: 184.6 kB / 0.5617 GB, free: 9.484 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.007485, allocations: 0 / 0.5617 GB, free: 9.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.007509, allocations: 7.984 kB / 0.5617 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007511, allocations: 4 kB / 0.5617 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.007519, allocations: 7.938 kB / 0.5617 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.00752, allocations: 0 / 0.5617 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.00752, allocations: 0 / 0.5617 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.705e-05/0.007617, allocations: 199.8 kB / 0.5619 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.007645, allocations: 27.84 kB / 0.5619 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.007659, allocations: 7.938 kB / 0.5619 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.007696, allocations: 8 kB / 0.5619 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.007728, allocations: 3.984 kB / 0.562 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.00773, allocations: 3.938 kB / 0.562 GB, free: 9.199 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.007845, allocations: 231 kB / 0.5622 GB, free: 8.977 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007845, allocations: 0 / 0.5622 GB, free: 8.977 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.008076, allocations: 71.86 kB / 0.5622 GB, free: 8.906 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 (2): * Single equations (assignments): 2 * 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.0002045/0.00828, allocations: 167.2 kB / 0.5624 GB, free: 8.734 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.922e-05/0.00838, allocations: 35.62 kB / 0.5624 GB, free: 8.695 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008381, allocations: 3.938 kB / 0.5624 GB, free: 8.691 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-05/0.008399, allocations: 15.67 kB / 0.5625 GB, free: 8.672 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.008599, allocations: 12.66 kB / 0.5625 GB, free: 8.656 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006638/0.009263, allocations: 329.3 kB / 0.5628 GB, free: 8.305 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.222e-05/0.009325, allocations: 83.3 kB / 0.5629 GB, free: 8.203 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.079e-05/0.009356, allocations: 8.5 kB / 0.5629 GB, free: 8.195 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.009393, allocations: 16.48 kB / 0.5629 GB, free: 8.176 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.009394, allocations: 0 / 0.5629 GB, free: 8.176 MB / 490.7 MB Notification: Performance of Templates: time 0.0042/0.01359, allocations: 2.17 MB / 0.565 GB, free: 6.031 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8392880191095173]