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.001012/0.001012, 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.001093/0.001093, allocations: 173 kB / 23.49 MB, free: 1.059 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.059/1.059, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.001776/0.001776, allocations: 237.8 kB / 260.5 MB, free: 12.89 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.7093/0.7093, allocations: 138.4 MB / 455.4 MB, free: 1.539 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.563e-06/1.563e-06, allocations: 0 / 0.5551 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.152e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001055/0.001077, allocations: 0.604 MB / 0.5557 GB, free: 204 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.002412, allocations: 1.314 MB / 0.557 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.002431, allocations: 0 / 0.557 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.002447, allocations: 4 kB / 0.557 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.524e-06/0.002454, allocations: 3.938 kB / 0.557 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.002841, allocations: 75.62 kB / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.247e-05/0.002883, allocations: 0 / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.00292, allocations: 7.984 kB / 0.5571 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.002944, allocations: 0 / 0.5571 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.002987, allocations: 0 / 0.5571 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.003001, allocations: 3.984 kB / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.003252, allocations: 107.8 kB / 0.5572 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.927e-06/0.00326, allocations: 0 / 0.5572 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.003276, allocations: 4 kB / 0.5572 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.003405, allocations: 75.84 kB / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003407, allocations: 0 / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003408, allocations: 0 / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.003412, allocations: 0 / 0.5572 GB, free: 14.59 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.0002446/0.003657, allocations: 352.2 kB / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.003694, allocations: 8.75 kB / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.003726, allocations: 0.9375 kB / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.989e-05/0.003786, allocations: 112.6 kB / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.003797, allocations: 384 / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.003804, allocations: 4.312 kB / 0.5577 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.578e-05/0.00388, allocations: 34.27 kB / 0.5577 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.003886, allocations: 4.188 kB / 0.5577 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.003898, allocations: 4.359 kB / 0.5577 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.003907, allocations: 3.938 kB / 0.5577 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.34e-05/0.00392, allocations: 3.984 kB / 0.5577 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.104e-05/0.004011, allocations: 108.6 kB / 0.5578 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.275e-05/0.004044, allocations: 23.06 kB / 0.5579 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.00406, allocations: 15.62 kB / 0.5579 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.004301, allocations: 44.06 kB / 0.5579 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.004323, allocations: 37.39 kB / 0.558 GB, free: 13.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.004323, allocations: 4 kB / 0.558 GB, free: 13.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.004438, allocations: 33.69 kB / 0.558 GB, free: 13.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.004463, allocations: 55.34 kB / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.529e-05/0.004498, allocations: 142.2 kB / 0.5582 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.004507, allocations: 25.7 kB / 0.5582 GB, free: 13.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.004533, allocations: 126.9 kB / 0.5583 GB, free: 13.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.004561, allocations: 8.422 kB / 0.5583 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.004584, allocations: 19.38 kB / 0.5584 GB, free: 13.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.004686, allocations: 496.1 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.004697, allocations: 7.938 kB / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.004702, allocations: 3.984 kB / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.004734, allocations: 11.69 kB / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004736, allocations: 0 / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.547e-05/0.004771, allocations: 29.7 kB / 0.5589 GB, free: 12.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.004785, allocations: 6.969 kB / 0.5589 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.00479, allocations: 4.094 kB / 0.5589 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.004802, allocations: 0 / 0.5589 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.436e-05/0.004846, allocations: 4 kB / 0.5589 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.016e-06/0.004854, allocations: 3.938 kB / 0.5589 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-06/0.004862, allocations: 3.938 kB / 0.5589 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.004867, allocations: 0 / 0.5589 GB, free: 12.69 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.214e-05/0.004929, allocations: 164.6 kB / 0.5591 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-06/0.004933, allocations: 0 / 0.5591 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.123e-05/0.005004, allocations: 40.64 kB / 0.5591 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.005006, allocations: 0 / 0.5591 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.005009, allocations: 4 kB / 0.5591 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.005013, allocations: 3.938 kB / 0.5591 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.579e-05/0.005069, allocations: 108.6 kB / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.00507, allocations: 0 / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-06/0.005078, allocations: 4 kB / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.00508, allocations: 0 / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.005085, allocations: 0 / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-07/0.005086, allocations: 0 / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005086, allocations: 0 / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.516e-05/0.005142, allocations: 84.34 kB / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.005147, allocations: 3.938 kB / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.005155, allocations: 0 / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-06/0.005159, allocations: 0 / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.005173, allocations: 4 kB / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.005174, allocations: 0 / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.825e-05/0.005202, allocations: 123.1 kB / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.005203, allocations: 0 / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001337/0.005336, allocations: 8 kB / 0.5594 GB, free: 12.08 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.0001296/0.005466, allocations: 123.2 kB / 0.5595 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.719e-05/0.005533, allocations: 15.69 kB / 0.5596 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.005535, allocations: 3.938 kB / 0.5596 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.965e-06/0.005543, allocations: 11.69 kB / 0.5596 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.273e-05/0.005636, allocations: 7.984 kB / 0.5596 GB, free: 11.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001543/0.00579, allocations: 87.94 kB / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.358e-05/0.005813, allocations: 51.36 kB / 0.5597 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.511e-05/0.005829, allocations: 4.125 kB / 0.5597 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.005841, allocations: 8.5 kB / 0.5597 GB, free: 11.71 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005841, allocations: 0 / 0.5597 GB, free: 11.71 MB / 490.7 MB Notification: Performance of Templates: time 0.001714/0.007555, allocations: 425 kB / 0.5601 GB, free: 11.29 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.7157995449379086]