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.0009448/0.0009448, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009472/0.0009472, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9706/0.9706, allocations: 177.2 MB / 204.5 MB, free: 5.516 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.002311/0.002311, allocations: 240.5 kB / 261.3 MB, free: 12.68 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.7822/0.7822, allocations: 138.4 MB / 456.3 MB, free: 30.05 MB / 410.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.212e-06/1.212e-06, allocations: 0 / 0.5564 GB, free: 15.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.243e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.001765/0.001778, allocations: 1.554 MB / 0.5579 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008835/0.002661, allocations: 0.7242 MB / 0.5586 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.002696, allocations: 0 / 0.5586 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.002881, allocations: 131.7 kB / 0.5588 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.00296, allocations: 71.77 kB / 0.5588 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.003434, allocations: 191.4 kB / 0.559 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.789e-05/0.003522, allocations: 63.81 kB / 0.5591 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.224e-05/0.003554, allocations: 11.92 kB / 0.5591 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.844e-05/0.003623, allocations: 39.95 kB / 0.5591 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.424e-05/0.003707, allocations: 83.83 kB / 0.5592 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.003717, allocations: 0 / 0.5592 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.004004, allocations: 243.6 kB / 0.5594 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.004077, allocations: 59.84 kB / 0.5595 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.004109, allocations: 35.84 kB / 0.5595 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.004382, allocations: 295.2 kB / 0.5598 GB, free: 12.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004383, allocations: 0 / 0.5598 GB, free: 12.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004384, allocations: 0 / 0.5598 GB, free: 12.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004388, allocations: 3.984 kB / 0.5598 GB, free: 12.32 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.0003987/0.004787, allocations: 0.5263 MB / 0.5603 GB, free: 11.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.00482, allocations: 9.938 kB / 0.5603 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.004851, allocations: 28.73 kB / 0.5604 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.004984, allocations: 180.7 kB / 0.5605 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.004991, allocations: 8.375 kB / 0.5605 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.004998, allocations: 4.375 kB / 0.5605 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.195e-05/0.00507, allocations: 54.94 kB / 0.5606 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.005076, allocations: 192 / 0.5606 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-06/0.005081, allocations: 384 / 0.5606 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.005085, allocations: 3.938 kB / 0.5606 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.611e-05/0.005101, allocations: 7.984 kB / 0.5606 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.005319, allocations: 288.3 kB / 0.5609 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.417e-05/0.005363, allocations: 31.06 kB / 0.5609 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.368e-05/0.005376, allocations: 7.688 kB / 0.5609 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.005409, allocations: 16.05 kB / 0.5609 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.005427, allocations: 45.38 kB / 0.561 GB, free: 11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.005428, allocations: 0 / 0.561 GB, free: 11 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001005/0.005529, allocations: 61.44 kB / 0.561 GB, free: 10.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.00555, allocations: 51.41 kB / 0.5611 GB, free: 10.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.005731, allocations: 354.1 kB / 0.5614 GB, free: 10.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.005744, allocations: 25.7 kB / 0.5615 GB, free: 10.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.005821, allocations: 198.8 kB / 0.5616 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.005831, allocations: 7.938 kB / 0.5616 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.005863, allocations: 39.34 kB / 0.5617 GB, free: 10.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.005979, allocations: 0.5118 MB / 0.5622 GB, free: 9.695 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.005997, allocations: 20.11 kB / 0.5622 GB, free: 9.676 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.43e-05/0.006011, allocations: 12 kB / 0.5622 GB, free: 9.664 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.949e-05/0.006051, allocations: 51.38 kB / 0.5623 GB, free: 9.609 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.006052, allocations: 0 / 0.5623 GB, free: 9.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.087e-05/0.006133, allocations: 97.48 kB / 0.5624 GB, free: 9.508 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.006142, allocations: 4 kB / 0.5624 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.006149, allocations: 7.875 kB / 0.5624 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.006157, allocations: 0 / 0.5624 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.237e-05/0.006189, allocations: 4 kB / 0.5624 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-06/0.006191, allocations: 0 / 0.5624 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.006214, allocations: 19.88 kB / 0.5624 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.006218, allocations: 3.984 kB / 0.5624 GB, free: 9.469 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.967e-05/0.006288, allocations: 160.6 kB / 0.5625 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.006311, allocations: 19.86 kB / 0.5626 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.922e-05/0.006381, allocations: 62.64 kB / 0.5626 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.006382, allocations: 0 / 0.5626 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.006383, allocations: 0 / 0.5626 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.006386, allocations: 0 / 0.5626 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.006498, allocations: 149.2 kB / 0.5628 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.006499, allocations: 4.031 kB / 0.5628 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-05/0.006513, allocations: 7.984 kB / 0.5628 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.61e-07/0.006514, allocations: 0 / 0.5628 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-06/0.006517, allocations: 0 / 0.5628 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006517, allocations: 0 / 0.5628 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.006519, allocations: 3.938 kB / 0.5628 GB, free: 9.027 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.353e-05/0.006602, allocations: 207.8 kB / 0.563 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.006622, allocations: 19.84 kB / 0.563 GB, free: 8.785 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.006634, allocations: 8 kB / 0.563 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.006667, allocations: 0 / 0.563 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.006695, allocations: 15.89 kB / 0.563 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.006696, allocations: 0 / 0.563 GB, free: 8.762 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.006797, allocations: 226.9 kB / 0.5632 GB, free: 8.543 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006797, allocations: 0 / 0.5632 GB, free: 8.543 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.00702, allocations: 67.86 kB / 0.5633 GB, free: 8.477 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.0001754/0.007195, allocations: 159.1 kB / 0.5635 GB, free: 8.312 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.021e-05/0.007266, allocations: 31.67 kB / 0.5635 GB, free: 8.277 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007267, allocations: 0 / 0.5635 GB, free: 8.277 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.484e-05/0.007282, allocations: 23.62 kB / 0.5635 GB, free: 8.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.007452, allocations: 17.8 kB / 0.5635 GB, free: 8.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.007906, allocations: 341.3 kB / 0.5639 GB, free: 7.867 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.878e-05/0.007955, allocations: 79.31 kB / 0.5639 GB, free: 7.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.761e-05/0.007982, allocations: 12.48 kB / 0.5639 GB, free: 7.754 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.00803, allocations: 78.2 kB / 0.564 GB, free: 7.676 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008031, allocations: 0 / 0.564 GB, free: 7.676 MB / 490.7 MB Notification: Performance of Templates: time 0.003685/0.01172, allocations: 2.302 MB / 0.5663 GB, free: 5.41 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.734239548910409]