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.001152/0.001152, allocations: 92.22 kB / 19.65 MB, free: 280 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.001417/0.001417, allocations: 173 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 1.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.001699/0.001699, allocations: 242.2 kB / 260.2 MB, free: 12.79 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.7703/0.7703, allocations: 138.4 MB / 455.2 MB, free: 1.535 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.664e-06/1.664e-06, allocations: 0 / 0.5552 GB, free: 452 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.667e-05, allocations: 2.312 kB / 0.5552 GB, free: 448 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.00242/0.002446, allocations: 1.562 MB / 0.5567 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009634/0.00341, allocations: 0.74 MB / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.003457, allocations: 0 / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.003667, allocations: 131.7 kB / 0.5576 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.036e-05/0.003758, allocations: 75.77 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006959/0.004453, allocations: 191.4 kB / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.004587, allocations: 67.8 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.004628, allocations: 0 / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.004715, allocations: 39.95 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.004825, allocations: 91.83 kB / 0.558 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.004843, allocations: 4 kB / 0.558 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.005233, allocations: 235.6 kB / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.894e-05/0.005322, allocations: 63.83 kB / 0.5583 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.005363, allocations: 27.86 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.005734, allocations: 303 kB / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.005738, allocations: 0 / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.005739, allocations: 0 / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.005744, allocations: 0 / 0.5586 GB, free: 12.91 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.0005703/0.006315, allocations: 0.5342 MB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.006358, allocations: 12.75 kB / 0.5591 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.006412, allocations: 24.8 kB / 0.5592 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.00661, allocations: 188.8 kB / 0.5593 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.006622, allocations: 384 / 0.5593 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.006632, allocations: 384 / 0.5593 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.00676, allocations: 54.95 kB / 0.5594 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.006767, allocations: 192 / 0.5594 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.006777, allocations: 384 / 0.5594 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.006787, allocations: 3.938 kB / 0.5594 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.719e-05/0.006814, allocations: 7.938 kB / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.007182, allocations: 335.8 kB / 0.5597 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.724e-05/0.007249, allocations: 35.06 kB / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.007269, allocations: 7.688 kB / 0.5598 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.007321, allocations: 16.05 kB / 0.5598 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.007347, allocations: 45.31 kB / 0.5598 GB, free: 11.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.007348, allocations: 0 / 0.5598 GB, free: 11.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001673/0.007516, allocations: 61.5 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.007547, allocations: 51.41 kB / 0.5599 GB, free: 11.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.007768, allocations: 358.3 kB / 0.5603 GB, free: 11.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.007778, allocations: 29.83 kB / 0.5603 GB, free: 10.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.007873, allocations: 198.8 kB / 0.5605 GB, free: 10.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.007886, allocations: 3.953 kB / 0.5605 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.007926, allocations: 39.36 kB / 0.5605 GB, free: 10.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.008052, allocations: 0.5157 MB / 0.561 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.008081, allocations: 12 kB / 0.561 GB, free: 10.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.008099, allocations: 19.52 kB / 0.5611 GB, free: 10.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.585e-05/0.008155, allocations: 67.48 kB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.008158, allocations: 0 / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001054/0.008263, allocations: 101.6 kB / 0.5612 GB, free: 10.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.008277, allocations: 11.94 kB / 0.5612 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.008285, allocations: 0 / 0.5612 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.008299, allocations: 0 / 0.5612 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.008369, allocations: 7.984 kB / 0.5612 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.008374, allocations: 0 / 0.5612 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.008402, allocations: 11.89 kB / 0.5613 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.008409, allocations: 0 / 0.5613 GB, free: 9.98 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.837e-05/0.008477, allocations: 156.6 kB / 0.5614 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.008504, allocations: 27.75 kB / 0.5614 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.008608, allocations: 66.7 kB / 0.5615 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.008611, allocations: 0 / 0.5615 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.008615, allocations: 0 / 0.5615 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008619, allocations: 4 kB / 0.5615 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.008767, allocations: 188.6 kB / 0.5617 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008768, allocations: 0 / 0.5617 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.008795, allocations: 3.984 kB / 0.5617 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.008798, allocations: 4 kB / 0.5617 GB, free: 9.488 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.008808, allocations: 7.938 kB / 0.5617 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.008809, allocations: 0 / 0.5617 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008811, allocations: 0 / 0.5617 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.008923, allocations: 207.9 kB / 0.5619 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.00895, allocations: 27.84 kB / 0.5619 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.008966, allocations: 3.938 kB / 0.5619 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-05/0.008998, allocations: 4 kB / 0.5619 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.009035, allocations: 7.984 kB / 0.5619 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.009037, allocations: 0 / 0.5619 GB, free: 9.215 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.009159, allocations: 231 kB / 0.5622 GB, free: 8.992 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009159, allocations: 0 / 0.5622 GB, free: 8.992 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.009434, allocations: 67.86 kB / 0.5622 GB, free: 8.926 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.0002584/0.009693, allocations: 171 kB / 0.5624 GB, free: 8.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.009811, allocations: 35.69 kB / 0.5624 GB, free: 8.711 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.009814, allocations: 0 / 0.5624 GB, free: 8.711 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.81e-05/0.009832, allocations: 15.62 kB / 0.5624 GB, free: 8.691 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.01004, allocations: 19.3 kB / 0.5625 GB, free: 8.672 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.01071, allocations: 329.3 kB / 0.5628 GB, free: 8.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.625e-05/0.01076, allocations: 87.3 kB / 0.5628 GB, free: 8.215 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.171e-05/0.01079, allocations: 8.5 kB / 0.5629 GB, free: 8.207 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.01083, allocations: 16.5 kB / 0.5629 GB, free: 8.188 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01083, allocations: 0 / 0.5629 GB, free: 8.188 MB / 490.7 MB Notification: Performance of Templates: time 0.004978/0.01581, allocations: 2.259 MB / 0.5651 GB, free: 5.949 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.6480297301895916]