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.001362/0.001362, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00165/0.00165, allocations: 173 kB / 23.49 MB, free: 1.055 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.9999/0.9999, allocations: 177.1 MB / 203.8 MB, free: 5.586 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.001655/0.001655, allocations: 237.6 kB / 260.5 MB, free: 12.84 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.847/0.847, allocations: 138.4 MB / 455.4 MB, free: 1.477 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.164e-06/2.164e-06, allocations: 0 / 0.5551 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.023e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002965/0.002995, allocations: 1.546 MB / 0.5566 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.004329, allocations: 0.7439 MB / 0.5573 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.004383, allocations: 0 / 0.5573 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.004655, allocations: 135.7 kB / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.004763, allocations: 67.83 kB / 0.5575 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.005437, allocations: 191.4 kB / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.005555, allocations: 59.81 kB / 0.5578 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.005607, allocations: 15.98 kB / 0.5578 GB, free: 14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.59e-05/0.005683, allocations: 43.92 kB / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.00581, allocations: 83.83 kB / 0.5579 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.005825, allocations: 4 kB / 0.5579 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.006221, allocations: 239.6 kB / 0.5581 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.988e-05/0.006321, allocations: 59.84 kB / 0.5582 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.006371, allocations: 27.86 kB / 0.5582 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.006779, allocations: 303.2 kB / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.006783, allocations: 0 / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.006784, allocations: 0 / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.00679, allocations: 0 / 0.5585 GB, free: 13.25 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.0006216/0.007412, allocations: 0.542 MB / 0.559 GB, free: 12.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.00746, allocations: 12.75 kB / 0.5591 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.007526, allocations: 20.8 kB / 0.5591 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.007726, allocations: 180.7 kB / 0.5593 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.007742, allocations: 4.375 kB / 0.5593 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.007755, allocations: 4.375 kB / 0.5593 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.007911, allocations: 54.94 kB / 0.5593 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.007919, allocations: 192 / 0.5593 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.007929, allocations: 384 / 0.5593 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.007939, allocations: 3.938 kB / 0.5593 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.476e-05/0.007973, allocations: 8 kB / 0.5593 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.008428, allocations: 359.7 kB / 0.5597 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.026e-05/0.008498, allocations: 27.06 kB / 0.5597 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.008525, allocations: 11.69 kB / 0.5597 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.556e-05/0.00858, allocations: 20.05 kB / 0.5597 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.008608, allocations: 37.33 kB / 0.5598 GB, free: 11.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.008609, allocations: 0 / 0.5598 GB, free: 11.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001968/0.008806, allocations: 61.48 kB / 0.5598 GB, free: 11.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.008845, allocations: 51.53 kB / 0.5599 GB, free: 11.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.009155, allocations: 366.3 kB / 0.5602 GB, free: 11.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.009167, allocations: 25.7 kB / 0.5602 GB, free: 11.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.009277, allocations: 194.8 kB / 0.5604 GB, free: 11.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.009291, allocations: 3.953 kB / 0.5604 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.009341, allocations: 35.36 kB / 0.5605 GB, free: 11.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.009501, allocations: 0.5118 MB / 0.561 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.705e-05/0.009538, allocations: 19.98 kB / 0.561 GB, free: 10.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.009566, allocations: 16 kB / 0.561 GB, free: 10.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.396e-05/0.00964, allocations: 58.92 kB / 0.5611 GB, free: 10.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009642, allocations: 0 / 0.5611 GB, free: 10.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001443/0.009787, allocations: 109.4 kB / 0.5612 GB, free: 10.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.009807, allocations: 10.75 kB / 0.5612 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.009813, allocations: 3.938 kB / 0.5612 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.009828, allocations: 4 kB / 0.5612 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/0.009924, allocations: 7.984 kB / 0.5612 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.009929, allocations: 0 / 0.5612 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/0.009971, allocations: 11.89 kB / 0.5612 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.009979, allocations: 4 kB / 0.5612 GB, free: 10.3 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 8.487e-05/0.01006, allocations: 156.6 kB / 0.5614 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.0101, allocations: 27.75 kB / 0.5614 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.01023, allocations: 66.7 kB / 0.5614 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01023, allocations: 0 / 0.5614 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.01023, allocations: 0 / 0.5614 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01024, allocations: 0 / 0.5614 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.01043, allocations: 192.6 kB / 0.5616 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01044, allocations: 0 / 0.5616 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.01048, allocations: 4 kB / 0.5616 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.01048, allocations: 0 / 0.5616 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.01049, allocations: 3.938 kB / 0.5616 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01049, allocations: 0 / 0.5616 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01049, allocations: 0 / 0.5616 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.01064, allocations: 211.8 kB / 0.5618 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.01068, allocations: 19.86 kB / 0.5619 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.0107, allocations: 7.938 kB / 0.5619 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.01077, allocations: 4.078 kB / 0.5619 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.01081, allocations: 7.984 kB / 0.5619 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.01082, allocations: 8 kB / 0.5619 GB, free: 9.531 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.01099, allocations: 238.9 kB / 0.5621 GB, free: 9.301 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01099, allocations: 0 / 0.5621 GB, free: 9.301 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003716/0.01136, allocations: 63.88 kB / 0.5622 GB, free: 9.238 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.0003194/0.01168, allocations: 171.1 kB / 0.5623 GB, free: 9.062 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.01181, allocations: 39.67 kB / 0.5624 GB, free: 9.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01181, allocations: 0 / 0.5624 GB, free: 9.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.444e-05/0.01184, allocations: 15.62 kB / 0.5624 GB, free: 9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.01214, allocations: 16.66 kB / 0.5624 GB, free: 8.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000814/0.01296, allocations: 325.3 kB / 0.5627 GB, free: 8.633 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.726e-05/0.01303, allocations: 87.3 kB / 0.5628 GB, free: 8.527 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.206e-05/0.01308, allocations: 8.484 kB / 0.5628 GB, free: 8.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.01312, allocations: 16.5 kB / 0.5628 GB, free: 8.5 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01312, allocations: 4 kB / 0.5628 GB, free: 8.496 MB / 490.7 MB Notification: Performance of Templates: time 0.005716/0.01883, allocations: 2.16 MB / 0.5649 GB, free: 6.355 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.800378322135657]