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.001867/0.001867, allocations: 88.72 kB / 19.44 MB, free: 356 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.002395/0.002395, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.462/1.462, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.002566/0.002566, allocations: 227.4 kB / 259.8 MB, free: 12.85 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.078/1.078, allocations: 138.4 MB / 454.7 MB, free: 1.496 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.172e-06/1.172e-06, allocations: 0 / 0.5544 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.264e-05, allocations: 6.25 kB / 0.5544 GB, free: 0.793 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002766/0.002788, allocations: 1.511 MB / 0.5559 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.004183, allocations: 0.7127 MB / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.004218, allocations: 0 / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.004478, allocations: 143.6 kB / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.004589, allocations: 59.91 kB / 0.5568 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.005275, allocations: 183.4 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.005455, allocations: 71.8 kB / 0.557 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.106e-05/0.005486, allocations: 7.938 kB / 0.557 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.005576, allocations: 43.88 kB / 0.5571 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.005714, allocations: 91.88 kB / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.005728, allocations: 0 / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.0062, allocations: 239.6 kB / 0.5574 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.006303, allocations: 63.83 kB / 0.5574 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.006359, allocations: 27.88 kB / 0.5575 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.006849, allocations: 315.1 kB / 0.5578 GB, free: 13.33 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006851, allocations: 0 / 0.5578 GB, free: 13.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006851, allocations: 0 / 0.5578 GB, free: 13.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.006855, allocations: 0 / 0.5578 GB, free: 13.33 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.0007114/0.007567, allocations: 448.8 kB / 0.5582 GB, free: 12.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.007605, allocations: 12.75 kB / 0.5582 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.007665, allocations: 20.8 kB / 0.5582 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.007926, allocations: 205.9 kB / 0.5584 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.007941, allocations: 4.359 kB / 0.5584 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.007955, allocations: 4.375 kB / 0.5584 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.008153, allocations: 74.22 kB / 0.5585 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.008164, allocations: 4.125 kB / 0.5585 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.008176, allocations: 4.375 kB / 0.5585 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.008182, allocations: 7.938 kB / 0.5585 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.008408, allocations: 83.92 kB / 0.5586 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.008974, allocations: 336.5 kB / 0.5589 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.009173, allocations: 86.53 kB / 0.559 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.009293, allocations: 48.89 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.009339, allocations: 19.98 kB / 0.5591 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.009377, allocations: 42.44 kB / 0.5591 GB, free: 11.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.009378, allocations: 0 / 0.5591 GB, free: 11.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000463/0.009841, allocations: 173.5 kB / 0.5593 GB, free: 11.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.00989, allocations: 55.41 kB / 0.5593 GB, free: 11.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.0103, allocations: 360.4 kB / 0.5597 GB, free: 11.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.01032, allocations: 25.7 kB / 0.5597 GB, free: 11.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.01044, allocations: 132.1 kB / 0.5598 GB, free: 11.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.01045, allocations: 12.08 kB / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.0105, allocations: 29.7 kB / 0.5599 GB, free: 11.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.01069, allocations: 334.8 kB / 0.5602 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.01088, allocations: 91.95 kB / 0.5603 GB, free: 10.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.01105, allocations: 99.88 kB / 0.5604 GB, free: 10.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.01151, allocations: 200.8 kB / 0.5605 GB, free: 10.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01152, allocations: 4 kB / 0.5606 GB, free: 10.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004206/0.01194, allocations: 257.4 kB / 0.5608 GB, free: 10.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.01195, allocations: 14.75 kB / 0.5608 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01196, allocations: 96 / 0.5608 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01198, allocations: 3.984 kB / 0.5608 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.01207, allocations: 11.98 kB / 0.5608 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.01207, allocations: 4 kB / 0.5608 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.01215, allocations: 19.83 kB / 0.5608 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.01215, allocations: 3.984 kB / 0.5609 GB, free: 9.996 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.0001358/0.01229, allocations: 149.8 kB / 0.561 GB, free: 9.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.01234, allocations: 23.8 kB / 0.561 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.01265, allocations: 146.6 kB / 0.5612 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01265, allocations: 0 / 0.5612 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01265, allocations: 0 / 0.5612 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.01265, allocations: 0 / 0.5612 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.01289, allocations: 185.2 kB / 0.5613 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.0129, allocations: 0 / 0.5613 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.01296, allocations: 8.031 kB / 0.5613 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01296, allocations: 4 kB / 0.5613 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.01297, allocations: 7.938 kB / 0.5614 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.01297, allocations: 3.984 kB / 0.5614 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01297, allocations: 0 / 0.5614 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.0133, allocations: 227.3 kB / 0.5616 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.01336, allocations: 27.84 kB / 0.5616 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.01338, allocations: 3.938 kB / 0.5616 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-05/0.01347, allocations: 12.02 kB / 0.5616 GB, free: 9.152 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.01351, allocations: 4 kB / 0.5616 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.01351, allocations: 0 / 0.5616 GB, free: 9.148 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002901/0.0138, allocations: 255 kB / 0.5619 GB, free: 8.898 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0138, allocations: 0 / 0.5619 GB, free: 8.898 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.01416, allocations: 67.86 kB / 0.5619 GB, free: 8.832 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.0003341/0.0145, allocations: 159.1 kB / 0.5621 GB, free: 8.664 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003438/0.01484, allocations: 147.8 kB / 0.5622 GB, free: 8.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01484, allocations: 4 kB / 0.5622 GB, free: 8.516 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.01495, allocations: 39.97 kB / 0.5623 GB, free: 8.477 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.01527, allocations: 16.66 kB / 0.5623 GB, free: 8.461 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006668/0.01593, allocations: 387.6 kB / 0.5626 GB, free: 8.059 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.01609, allocations: 131.2 kB / 0.5628 GB, free: 7.906 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.705e-05/0.01612, allocations: 8.5 kB / 0.5628 GB, free: 7.898 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.01616, allocations: 16.5 kB / 0.5628 GB, free: 7.883 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01616, allocations: 0 / 0.5628 GB, free: 7.883 MB / 490.7 MB Notification: Performance of Templates: time 0.005977/0.02214, allocations: 2.166 MB / 0.5649 GB, free: 5.742 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.511763751972467]