Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.000654/0.000654, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000849/0.001503, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007397/0.0007397, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008831/0.001623, allocations: 463.6 kB / 11.71 MB, free: 2.457 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.987/0.987, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1089/1.096, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.572/0.572, allocations: 110.2 MB / 354.2 MB, free: 12.36 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.06608/0.6381, allocations: 34.95 MB / 389.2 MB, free: 9.355 MB / 378.7 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 390.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.507e-05, allocations: 2.312 kB / 390.6 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001293/0.001318, allocations: 0.623 MB / 391.2 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.00262, allocations: 1.345 MB / 392.5 MB, free: 6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.363e-05/0.002633, allocations: 0 / 392.5 MB, free: 6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.551e-06/0.002639, allocations: 0 / 392.5 MB, free: 6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.874e-06/0.002641, allocations: 0 / 392.5 MB, free: 6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.00288, allocations: 59.69 kB / 392.6 MB, free: 5.941 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.178e-05/0.002922, allocations: 0 / 392.6 MB, free: 5.941 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.504e-05/0.002957, allocations: 4 kB / 392.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.754e-05/0.002994, allocations: 0 / 392.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.003037, allocations: 8 kB / 392.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.003046, allocations: 3.938 kB / 392.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.003304, allocations: 115.8 kB / 392.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.003312, allocations: 0 / 392.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.165e-05/0.003324, allocations: 4 kB / 392.7 MB, free: 5.809 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.003447, allocations: 67.75 kB / 392.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.00346, allocations: 4 kB / 392.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.003461, allocations: 0 / 392.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.003473, allocations: 0 / 392.8 MB, free: 5.738 MB / 378.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.0002399/0.003713, allocations: 232.6 kB / 393 MB, free: 5.488 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.003744, allocations: 12.03 kB / 393 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.003766, allocations: 4.938 kB / 393 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.717e-05/0.003823, allocations: 109.7 kB / 393.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.003832, allocations: 384 / 393.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.003839, allocations: 384 / 393.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.477e-05/0.003914, allocations: 38.19 kB / 393.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.003919, allocations: 192 / 393.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.003927, allocations: 4.375 kB / 393.2 MB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.003934, allocations: 7.922 kB / 393.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.18e-05/0.003946, allocations: 0 / 393.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.021e-05/0.004016, allocations: 57.05 kB / 393.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.944e-05/0.004056, allocations: 18.58 kB / 393.3 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.004069, allocations: 8.953 kB / 393.3 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.004325, allocations: 43.95 kB / 393.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.004347, allocations: 30.56 kB / 393.3 MB, free: 5.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.004348, allocations: 3.938 kB / 393.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 9.952e-05/0.004447, allocations: 29.7 kB / 393.4 MB, free: 5.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.004476, allocations: 55.53 kB / 393.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.086e-05/0.004507, allocations: 89.86 kB / 393.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.004515, allocations: 25.7 kB / 393.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.2e-05/0.004537, allocations: 88.14 kB / 393.6 MB, free: 4.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.00457, allocations: 3.953 kB / 393.6 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.004592, allocations: 13.7 kB / 393.6 MB, free: 4.746 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.004679, allocations: 322.8 kB / 394 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-06/0.004687, allocations: 0 / 394 MB, free: 4.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-06/0.004693, allocations: 0 / 394 MB, free: 4.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.004718, allocations: 12.8 kB / 394 MB, free: 4.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00472, allocations: 4.062 kB / 394 MB, free: 4.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.018e-05/0.00476, allocations: 33.7 kB / 394 MB, free: 4.363 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.004774, allocations: 4 kB / 394 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.00478, allocations: 0 / 394 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.00479, allocations: 0 / 394 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.289e-05/0.004843, allocations: 7.984 kB / 394 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.004845, allocations: 0 / 394 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.905e-06/0.004853, allocations: 0 / 394 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.004859, allocations: 3.938 kB / 394 MB, free: 4.348 MB / 378.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.052e-05/0.004909, allocations: 109.8 kB / 394.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-06/0.004913, allocations: 4.031 kB / 394.1 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.93e-05/0.004992, allocations: 44.56 kB / 394.2 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.004993, allocations: 0 / 394.2 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004995, allocations: 0 / 394.2 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.004998, allocations: 0 / 394.2 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.202e-05/0.00505, allocations: 65.84 kB / 394.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.005052, allocations: 0 / 394.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.005066, allocations: 0 / 394.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-06/0.00507, allocations: 0 / 394.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.005072, allocations: 8.031 kB / 394.3 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-06/0.005075, allocations: 0 / 394.3 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005075, allocations: 0 / 394.3 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.005078, allocations: 7.969 kB / 394.3 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.437e-05/0.005122, allocations: 65.02 kB / 394.3 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.005131, allocations: 4 kB / 394.3 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-06/0.005135, allocations: 0 / 394.3 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-06/0.005143, allocations: 0 / 394.3 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.005145, allocations: 0 / 394.3 MB, free: 3.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.79e-06/0.005151, allocations: 4.859 kB / 394.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005151, allocations: 4.031 kB / 394.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001068/0.005258, allocations: 15.92 kB / 394.4 MB, free: 3.961 MB / 378.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.0001349/0.005393, allocations: 92.39 kB / 394.4 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.176e-05/0.005444, allocations: 8.859 kB / 394.4 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.005447, allocations: 0 / 394.4 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.228e-06/0.005451, allocations: 8.859 kB / 394.5 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.8e-05/0.005499, allocations: 7.688 kB / 394.5 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001508/0.00565, allocations: 90.22 kB / 394.6 MB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.367e-05/0.005674, allocations: 55.48 kB / 394.6 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.619e-05/0.00569, allocations: 4 kB / 394.6 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.005715, allocations: 47.38 kB / 394.7 MB, free: 3.59 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.005716, allocations: 0 / 394.7 MB, free: 3.59 MB / 378.7 MB Notification: Performance of Templates: time 0.001995/0.007711, allocations: 476.3 kB / 395.1 MB, free: 3.125 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0741366604343057]