Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.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.001031/0.001031, allocations: 92.22 kB / 19.65 MB, free: 276 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.001556/0.001556, allocations: 169 kB / 23.02 MB, free: 1.551 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.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001651/0.001651, allocations: 224.5 kB / 260.2 MB, free: 12.83 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.7451/0.7451, allocations: 138.4 MB / 455.2 MB, free: 1.523 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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.5552 GB, free: 452 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.642e-05, allocations: 6.25 kB / 0.5552 GB, free: 444 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001945/0.001971, allocations: 0.5886 MB / 0.5558 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.003711, allocations: 1.326 MB / 0.557 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.781e-05/0.003729, allocations: 0 / 0.557 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.003751, allocations: 3.938 kB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.495e-06/0.003759, allocations: 0 / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.004195, allocations: 71.62 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.778e-05/0.004243, allocations: 11.97 kB / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.004285, allocations: 0 / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.508e-05/0.00431, allocations: 0 / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.059e-05/0.00435, allocations: 8 kB / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.004361, allocations: 0 / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.004669, allocations: 103.8 kB / 0.5572 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.004678, allocations: 0 / 0.5572 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.004694, allocations: 4 kB / 0.5572 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.004857, allocations: 71.84 kB / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004859, allocations: 0 / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.00486, allocations: 0 / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004864, allocations: 0 / 0.5573 GB, free: 14.23 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002966/0.005161, allocations: 356.2 kB / 0.5577 GB, free: 13.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.005209, allocations: 16.75 kB / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.005248, allocations: 4.938 kB / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.938e-05/0.005317, allocations: 108.6 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.005328, allocations: 4.312 kB / 0.5578 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.00534, allocations: 384 / 0.5578 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.621e-05/0.005426, allocations: 34.25 kB / 0.5578 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.005437, allocations: 192 / 0.5578 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.005446, allocations: 384 / 0.5578 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.005456, allocations: 3.938 kB / 0.5578 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.005474, allocations: 4 kB / 0.5578 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.005587, allocations: 112.6 kB / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.314e-05/0.00563, allocations: 31.03 kB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.005647, allocations: 7.688 kB / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.005943, allocations: 40.03 kB / 0.558 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.00597, allocations: 41.38 kB / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.005971, allocations: 0 / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.006096, allocations: 29.7 kB / 0.5581 GB, free: 13.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.006126, allocations: 59.47 kB / 0.5581 GB, free: 13.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.006175, allocations: 146.2 kB / 0.5583 GB, free: 13.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.006186, allocations: 25.7 kB / 0.5583 GB, free: 13.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.00622, allocations: 126.9 kB / 0.5584 GB, free: 12.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.006248, allocations: 4.297 kB / 0.5584 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.006279, allocations: 23.31 kB / 0.5584 GB, free: 12.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000267/0.006546, allocations: 0.4884 MB / 0.5589 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.006557, allocations: 0 / 0.5589 GB, free: 12.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.006564, allocations: 0 / 0.5589 GB, free: 12.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.006597, allocations: 11.69 kB / 0.5589 GB, free: 12.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006599, allocations: 4.062 kB / 0.5589 GB, free: 12.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.602e-05/0.006655, allocations: 29.7 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.006671, allocations: 8 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.006676, allocations: 0 / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.006693, allocations: 0 / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.006744, allocations: 0 / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.006754, allocations: 15.86 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.279e-05/0.006766, allocations: 7.922 kB / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.006771, allocations: 0 / 0.559 GB, free: 12.31 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 (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 6.882e-05/0.00684, allocations: 156.6 kB / 0.5591 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-06/0.006847, allocations: 4.031 kB / 0.5591 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.127e-05/0.006938, allocations: 36.7 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.006939, allocations: 0 / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.006943, allocations: 0 / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.006948, allocations: 7.922 kB / 0.5592 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.544e-05/0.007013, allocations: 104.6 kB / 0.5593 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.007014, allocations: 4 kB / 0.5593 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/0.007032, allocations: 0 / 0.5593 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.007036, allocations: 8.016 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.007042, allocations: 0 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007043, allocations: 0 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.007047, allocations: 8 kB / 0.5593 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.716e-05/0.007114, allocations: 76.31 kB / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.00712, allocations: 7.938 kB / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.00713, allocations: 0 / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-06/0.007137, allocations: 0 / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.007151, allocations: 0 / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.007153, allocations: 0 / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.168e-05/0.007195, allocations: 123.1 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007195, allocations: 4.031 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.00743, allocations: 8 kB / 0.5595 GB, free: 11.7 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 (1): * Single equations (assignments): 1 * 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.0001585/0.007588, allocations: 119.2 kB / 0.5596 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.071e-05/0.007659, allocations: 15.62 kB / 0.5596 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.007664, allocations: 4 kB / 0.5596 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.878e-06/0.007674, allocations: 11.67 kB / 0.5597 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.007822, allocations: 0 / 0.5597 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002019/0.008024, allocations: 92.06 kB / 0.5597 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.346e-05/0.008057, allocations: 55.36 kB / 0.5598 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.025e-05/0.008078, allocations: 4 kB / 0.5598 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.008095, allocations: 8.5 kB / 0.5598 GB, free: 11.34 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008096, allocations: 3.938 kB / 0.5598 GB, free: 11.33 MB / 490.7 MB Notification: Performance of Templates: time 0.002495/0.01059, allocations: 431.7 kB / 0.5602 GB, free: 10.92 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8525216742418706]