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.0006751/0.0006751, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008104/0.001486, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006945/0.0006945, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008657/0.00156, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9249/0.9249, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08108/1.006, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001268/0.001268, allocations: 233.2 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.002349, allocations: 471.5 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.763/0.763, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07512/0.8381, allocations: 42.41 MB / 426.5 MB, free: 5.949 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.673e-06/1.673e-06, allocations: 0 / 427.8 MB, free: 4.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.311e-05, allocations: 2.312 kB / 427.8 MB, free: 4.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001674/0.001697, allocations: 0.643 MB / 428.5 MB, free: 3.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.003659, allocations: 1.334 MB / 429.8 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.356e-05/0.003673, allocations: 0 / 429.8 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.881e-06/0.003679, allocations: 3.938 kB / 429.8 MB, free: 2.566 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.272e-06/0.00368, allocations: 0 / 429.8 MB, free: 2.566 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.00399, allocations: 67.61 kB / 429.9 MB, free: 2.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.823e-05/0.004038, allocations: 4 kB / 429.9 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.00408, allocations: 0 / 429.9 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.028e-05/0.00412, allocations: 7.984 kB / 429.9 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.00417, allocations: 0 / 429.9 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.004181, allocations: 0 / 429.9 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.004522, allocations: 119.8 kB / 430 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.004532, allocations: 0 / 430 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.215e-05/0.004544, allocations: 0 / 430 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.004735, allocations: 63.83 kB / 430.1 MB, free: 2.309 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.388e-05/0.004759, allocations: 0 / 430.1 MB, free: 2.309 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.004761, allocations: 0 / 430.1 MB, free: 2.309 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.004784, allocations: 4 kB / 430.1 MB, free: 2.305 MB / 410.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.0003182/0.005103, allocations: 232.6 kB / 430.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.005138, allocations: 15.97 kB / 430.3 MB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.005162, allocations: 0.9375 kB / 430.3 MB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.517e-05/0.005227, allocations: 105.7 kB / 430.4 MB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.005239, allocations: 8.375 kB / 430.4 MB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-06/0.005245, allocations: 384 / 430.4 MB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.563e-05/0.00531, allocations: 26.27 kB / 430.5 MB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.005317, allocations: 192 / 430.5 MB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-06/0.005322, allocations: 384 / 430.5 MB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.005329, allocations: 7.922 kB / 430.5 MB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.432e-05/0.005344, allocations: 8 kB / 430.5 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.077e-05/0.005414, allocations: 53.05 kB / 430.5 MB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.619e-05/0.005451, allocations: 26.53 kB / 430.6 MB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.005464, allocations: 8.844 kB / 430.6 MB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.00571, allocations: 40.03 kB / 430.6 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.005735, allocations: 34.56 kB / 430.6 MB, free: 1.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.264e-06/0.005737, allocations: 4 kB / 430.6 MB, free: 1.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.539e-05/0.005833, allocations: 29.7 kB / 430.7 MB, free: 1.621 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.005864, allocations: 51.41 kB / 430.7 MB, free: 1.559 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.439e-05/0.005899, allocations: 97.78 kB / 430.8 MB, free: 1.453 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.005909, allocations: 25.7 kB / 430.8 MB, free: 1.422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.005936, allocations: 80.14 kB / 430.9 MB, free: 1.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.005963, allocations: 7.891 kB / 430.9 MB, free: 1.332 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.005992, allocations: 17.72 kB / 431 MB, free: 1.309 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.006087, allocations: 314.8 kB / 431.3 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-06/0.006094, allocations: 0 / 431.3 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/0.006101, allocations: 8.125 kB / 431.3 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/0.006124, allocations: 4.859 kB / 431.3 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006126, allocations: 0 / 431.3 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.138e-05/0.006178, allocations: 33.69 kB / 431.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.006191, allocations: 8 kB / 431.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.006195, allocations: 0 / 431.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.006205, allocations: 0 / 431.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.833e-05/0.006253, allocations: 3.938 kB / 431.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.006256, allocations: 0 / 431.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.006267, allocations: 4 kB / 431.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.006273, allocations: 8.031 kB / 431.3 MB, free: 0.9141 MB / 410.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 5.756e-05/0.00633, allocations: 109.8 kB / 431.4 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.006336, allocations: 0 / 431.4 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.74e-05/0.006413, allocations: 36.69 kB / 431.5 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006415, allocations: 0 / 431.5 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.006417, allocations: 0 / 431.5 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.00642, allocations: 4 kB / 431.5 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.226e-05/0.006482, allocations: 69.84 kB / 431.5 MB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006484, allocations: 4.031 kB / 431.5 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.006503, allocations: 7.984 kB / 431.6 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.006509, allocations: 4 kB / 431.6 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.00651, allocations: 0 / 431.6 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.006515, allocations: 4 kB / 431.6 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.006516, allocations: 0 / 431.6 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006517, allocations: 0 / 431.6 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.673e-05/0.006574, allocations: 61.02 kB / 431.6 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-06/0.006583, allocations: 3.984 kB / 431.6 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-06/0.00659, allocations: 0 / 431.6 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.006601, allocations: 32 / 431.6 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.006609, allocations: 11.94 kB / 431.6 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.833e-06/0.006616, allocations: 4.859 kB / 431.6 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006616, allocations: 0 / 431.6 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.006796, allocations: 11.94 kB / 431.7 MB, free: 0.5352 MB / 410.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.0001535/0.00695, allocations: 92.34 kB / 431.7 MB, free: 448 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.982e-05/0.00702, allocations: 12.8 kB / 431.8 MB, free: 432 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.007024, allocations: 0 / 431.8 MB, free: 432 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.004e-05/0.007034, allocations: 12.86 kB / 431.8 MB, free: 416 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.057e-05/0.007094, allocations: 8.062 kB / 431.8 MB, free: 408 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001796/0.007274, allocations: 86.34 kB / 431.9 MB, free: 296 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.873e-05/0.007313, allocations: 51.36 kB / 431.9 MB, free: 224 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.158e-05/0.007334, allocations: 0 / 431.9 MB, free: 224 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.007367, allocations: 51.38 kB / 432 MB, free: 172 kB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.007367, allocations: 0 / 432 MB, free: 172 kB / 410.7 MB Notification: Performance of Templates: time 0.179/0.1864, allocations: 472.6 kB / 432.4 MB, free: 2.629 MB / 410.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.2811577562242746]