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.001453/0.001453, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.00172/0.00172, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.039/1.039, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.002022/0.002022, allocations: 245.2 kB / 260.5 MB, free: 12.66 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.7119/0.7119, allocations: 138.4 MB / 455.5 MB, free: 1.426 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.884e-06/1.884e-06, allocations: 3.938 kB / 0.5557 GB, free: 188 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.54e-05, allocations: 8.781 kB / 0.5557 GB, free: 180 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002891/0.002917, allocations: 1.538 MB / 0.5572 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.004316, allocations: 0.7361 MB / 0.5579 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.004368, allocations: 0 / 0.5579 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.004641, allocations: 135.7 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.004765, allocations: 75.7 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000788/0.005553, allocations: 183.5 kB / 0.5583 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.005707, allocations: 71.8 kB / 0.5583 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.005744, allocations: 4 kB / 0.5583 GB, free: 13.42 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.005854, allocations: 43.94 kB / 0.5584 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.005991, allocations: 83.83 kB / 0.5585 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.006006, allocations: 0 / 0.5585 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.006482, allocations: 239.6 kB / 0.5587 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.58e-05/0.006578, allocations: 59.84 kB / 0.5588 GB, free: 13 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.006618, allocations: 23.88 kB / 0.5588 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.007085, allocations: 311 kB / 0.5591 GB, free: 12.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.007089, allocations: 0 / 0.5591 GB, free: 12.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.00709, allocations: 0 / 0.5591 GB, free: 12.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.007095, allocations: 8 kB / 0.5591 GB, free: 12.67 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.0006178/0.007712, allocations: 0.5264 MB / 0.5596 GB, free: 12.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.007758, allocations: 8.75 kB / 0.5596 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.007806, allocations: 20.8 kB / 0.5596 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.00801, allocations: 184.8 kB / 0.5598 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.008022, allocations: 4.375 kB / 0.5598 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.00803, allocations: 4.312 kB / 0.5598 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.008154, allocations: 50.94 kB / 0.5599 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.008161, allocations: 192 / 0.5599 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.008168, allocations: 384 / 0.5599 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.008176, allocations: 11.94 kB / 0.5599 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.506e-05/0.008201, allocations: 7.984 kB / 0.5599 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.008541, allocations: 288.3 kB / 0.5601 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.93e-05/0.0086, allocations: 31 kB / 0.5602 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.008617, allocations: 11.75 kB / 0.5602 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.193e-05/0.008669, allocations: 15.98 kB / 0.5602 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.008696, allocations: 37.39 kB / 0.5602 GB, free: 11.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.008697, allocations: 0 / 0.5602 GB, free: 11.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001532/0.00885, allocations: 65.48 kB / 0.5603 GB, free: 11.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.008882, allocations: 59.34 kB / 0.5604 GB, free: 11.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.009173, allocations: 350.1 kB / 0.5607 GB, free: 10.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.009188, allocations: 25.7 kB / 0.5607 GB, free: 10.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.009297, allocations: 194.8 kB / 0.5609 GB, free: 10.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.009311, allocations: 7.938 kB / 0.5609 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.009357, allocations: 39.3 kB / 0.5609 GB, free: 10.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.009534, allocations: 0.5157 MB / 0.5615 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.182e-05/0.009566, allocations: 12 kB / 0.5615 GB, free: 10.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.009591, allocations: 15.98 kB / 0.5615 GB, free: 10.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.44e-05/0.009655, allocations: 59.53 kB / 0.5615 GB, free: 9.957 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009658, allocations: 0 / 0.5615 GB, free: 9.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001287/0.009786, allocations: 93.55 kB / 0.5616 GB, free: 9.859 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.009802, allocations: 7.938 kB / 0.5616 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.009809, allocations: 3.938 kB / 0.5616 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.009822, allocations: 0 / 0.5616 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.914e-05/0.009891, allocations: 4 kB / 0.5616 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.009893, allocations: 0 / 0.5616 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.009933, allocations: 11.89 kB / 0.5616 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.009939, allocations: 0 / 0.5616 GB, free: 9.832 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 9.309e-05/0.01003, allocations: 168.6 kB / 0.5618 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.01007, allocations: 23.81 kB / 0.5618 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.01018, allocations: 54.72 kB / 0.5619 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01019, allocations: 0 / 0.5619 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01019, allocations: 0 / 0.5619 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01019, allocations: 0 / 0.5619 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.01037, allocations: 149.2 kB / 0.562 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01037, allocations: 0 / 0.562 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.01041, allocations: 7.938 kB / 0.562 GB, free: 9.395 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.01041, allocations: 3.984 kB / 0.562 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.01042, allocations: 4.031 kB / 0.562 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01042, allocations: 0 / 0.562 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01042, allocations: 3.938 kB / 0.562 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.01085, allocations: 199.8 kB / 0.5622 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.01088, allocations: 23.84 kB / 0.5623 GB, free: 9.145 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.0109, allocations: 0 / 0.5623 GB, free: 9.145 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.01096, allocations: 8 kB / 0.5623 GB, free: 9.137 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.01099, allocations: 3.938 kB / 0.5623 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.011, allocations: 0 / 0.5623 GB, free: 9.133 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.01117, allocations: 230.9 kB / 0.5625 GB, free: 8.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01117, allocations: 4.031 kB / 0.5625 GB, free: 8.906 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003847/0.01155, allocations: 67.86 kB / 0.5626 GB, free: 8.84 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.0002997/0.01185, allocations: 163 kB / 0.5627 GB, free: 8.672 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.01196, allocations: 43.59 kB / 0.5628 GB, free: 8.625 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01196, allocations: 0 / 0.5628 GB, free: 8.625 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.01198, allocations: 11.69 kB / 0.5628 GB, free: 8.609 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.01225, allocations: 8.656 kB / 0.5628 GB, free: 8.598 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007662/0.01302, allocations: 333.3 kB / 0.5631 GB, free: 8.242 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.716e-05/0.01309, allocations: 79.31 kB / 0.5632 GB, free: 8.145 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.01313, allocations: 16.48 kB / 0.5632 GB, free: 8.129 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.0132, allocations: 78.2 kB / 0.5633 GB, free: 8.051 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0132, allocations: 0 / 0.5633 GB, free: 8.051 MB / 490.7 MB Notification: Performance of Templates: time 0.006001/0.01921, allocations: 2.29 MB / 0.5655 GB, free: 5.781 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.6834694403223693]