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.001826/0.001826, allocations: 85.48 kB / 19.44 MB, free: 344 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.002061/0.002061, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.55/1.55, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.003383/0.003383, allocations: 233.4 kB / 259.8 MB, free: 12.86 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 1.164/1.164, allocations: 138.5 MB / 454.7 MB, free: 1.488 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 2.114e-06/2.114e-06, allocations: 0 / 0.5544 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.615e-05/3.826e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.003332/0.00337, allocations: 1.515 MB / 0.5559 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.005026, allocations: 0.7439 MB / 0.5566 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.005088, allocations: 0 / 0.5566 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.00539, allocations: 131.7 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.005524, allocations: 67.83 kB / 0.5568 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008763/0.0064, allocations: 187.4 kB / 0.557 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.006586, allocations: 71.81 kB / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.006631, allocations: 7.922 kB / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.006732, allocations: 39.94 kB / 0.5571 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.006892, allocations: 87.89 kB / 0.5572 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.006911, allocations: 3.938 kB / 0.5572 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005584/0.00747, allocations: 239.6 kB / 0.5574 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.007594, allocations: 55.84 kB / 0.5575 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.007659, allocations: 31.86 kB / 0.5575 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006323/0.008291, allocations: 315.1 kB / 0.5578 GB, free: 13.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.008295, allocations: 4 kB / 0.5578 GB, free: 13.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.008296, allocations: 0 / 0.5578 GB, free: 13.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.008304, allocations: 4 kB / 0.5578 GB, free: 13.28 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.000974/0.009278, allocations: 0.53 MB / 0.5583 GB, free: 12.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.009325, allocations: 8.75 kB / 0.5583 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.291e-05/0.009418, allocations: 28.78 kB / 0.5583 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.009719, allocations: 180.8 kB / 0.5585 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.009733, allocations: 4.375 kB / 0.5585 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.009743, allocations: 384 / 0.5585 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.009925, allocations: 46.19 kB / 0.5586 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.009936, allocations: 192 / 0.5586 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.009951, allocations: 4.375 kB / 0.5586 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.009959, allocations: 7.938 kB / 0.5586 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.01009, allocations: 23.97 kB / 0.5586 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.01071, allocations: 343.7 kB / 0.5589 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.01085, allocations: 46.98 kB / 0.559 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.309e-05/0.01092, allocations: 15.75 kB / 0.559 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.408e-05/0.01098, allocations: 15.98 kB / 0.559 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.01103, allocations: 45.3 kB / 0.559 GB, free: 11.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.01103, allocations: 0 / 0.559 GB, free: 11.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003392/0.01137, allocations: 85.55 kB / 0.5591 GB, free: 11.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.01142, allocations: 51.41 kB / 0.5592 GB, free: 11.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.01185, allocations: 370.2 kB / 0.5595 GB, free: 11.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.01188, allocations: 29.7 kB / 0.5596 GB, free: 11.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.01204, allocations: 182.9 kB / 0.5597 GB, free: 11.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.01205, allocations: 11.89 kB / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.01211, allocations: 31.36 kB / 0.5598 GB, free: 11.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003076/0.01242, allocations: 0.5157 MB / 0.5603 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/0.01251, allocations: 28.11 kB / 0.5603 GB, free: 10.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.01257, allocations: 24 kB / 0.5603 GB, free: 10.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.01273, allocations: 67.66 kB / 0.5604 GB, free: 10.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01273, allocations: 0 / 0.5604 GB, free: 10.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002519/0.01299, allocations: 113.5 kB / 0.5605 GB, free: 10.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.01301, allocations: 11.94 kB / 0.5605 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.01301, allocations: 0 / 0.5605 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.01303, allocations: 3.984 kB / 0.5605 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.583e-05/0.01312, allocations: 11.88 kB / 0.5605 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01313, allocations: 0 / 0.5605 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.01319, allocations: 19.84 kB / 0.5605 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.0132, allocations: 0 / 0.5605 GB, free: 10.25 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 0.0001274/0.01332, allocations: 160.6 kB / 0.5607 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.01338, allocations: 27.78 kB / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.01358, allocations: 70.77 kB / 0.5608 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01358, allocations: 0 / 0.5608 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01359, allocations: 0 / 0.5608 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01359, allocations: 0 / 0.5608 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.01386, allocations: 192.6 kB / 0.561 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01386, allocations: 4.031 kB / 0.561 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.01391, allocations: 4 kB / 0.561 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.01391, allocations: 4 kB / 0.561 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.01392, allocations: 3.938 kB / 0.561 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.01393, allocations: 3.938 kB / 0.561 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01393, allocations: 0 / 0.561 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.0142, allocations: 219.8 kB / 0.5612 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.01426, allocations: 23.86 kB / 0.5612 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.01429, allocations: 7.922 kB / 0.5612 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.01436, allocations: 8.031 kB / 0.5612 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.01441, allocations: 4 kB / 0.5612 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.01442, allocations: 4 kB / 0.5613 GB, free: 9.457 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002576/0.01468, allocations: 235 kB / 0.5615 GB, free: 9.227 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01468, allocations: 0 / 0.5615 GB, free: 9.227 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003902/0.01507, allocations: 67.88 kB / 0.5615 GB, free: 9.16 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.0004046/0.01547, allocations: 163.1 kB / 0.5617 GB, free: 8.992 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.01571, allocations: 55.59 kB / 0.5617 GB, free: 8.934 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01572, allocations: 4 kB / 0.5618 GB, free: 8.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.01579, allocations: 23.69 kB / 0.5618 GB, free: 8.902 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.01609, allocations: 12.64 kB / 0.5618 GB, free: 8.891 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.01679, allocations: 329.2 kB / 0.5621 GB, free: 8.539 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.01694, allocations: 119.2 kB / 0.5622 GB, free: 8.398 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.124e-05/0.01698, allocations: 8.5 kB / 0.5622 GB, free: 8.391 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.01703, allocations: 16.48 kB / 0.5622 GB, free: 8.375 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01703, allocations: 4 kB / 0.5622 GB, free: 8.371 MB / 490.7 MB Notification: Performance of Templates: time 0.007161/0.02419, allocations: 2.152 MB / 0.5643 GB, free: 6.25 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: 5.811942585976794]