Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.0006648/0.0006648, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001747, 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.000694/0.000694, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009199/0.001614, 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 1.03/1.03, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0933/1.124, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.5772/0.5772, allocations: 110.2 MB / 354.2 MB, free: 12.39 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.06116/0.6384, 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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 390.6 MB, free: 7.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052e-05/1.201e-05, allocations: 2.312 kB / 390.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001185/0.001197, allocations: 0.6619 MB / 391.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.002504, allocations: 1.357 MB / 392.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.00252, allocations: 0 / 392.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.048e-06/0.002524, allocations: 0 / 392.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.002532, allocations: 3.938 kB / 392.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.002772, allocations: 67.67 kB / 392.7 MB, free: 5.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.948e-05/0.002832, allocations: 27.92 kB / 392.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.002868, allocations: 3.984 kB / 392.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.729e-05/0.002916, allocations: 15.98 kB / 392.7 MB, free: 5.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.002983, allocations: 15.91 kB / 392.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.002995, allocations: 4 kB / 392.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.00324, allocations: 119.8 kB / 392.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.003251, allocations: 4 kB / 392.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.596e-05/0.003266, allocations: 4 kB / 392.9 MB, free: 5.676 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.003409, allocations: 71.81 kB / 392.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.368e-05/0.003423, allocations: 0 / 392.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.003423, allocations: 3.938 kB / 392.9 MB, free: 5.602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.003439, allocations: 4 kB / 392.9 MB, free: 5.598 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003876/0.003827, allocations: 268.4 kB / 393.2 MB, free: 5.312 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.003858, allocations: 16.02 kB / 393.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.003888, allocations: 8.938 kB / 393.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.654e-05/0.003965, allocations: 101.8 kB / 393.3 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.003977, allocations: 8.375 kB / 393.3 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.003999, allocations: 8.359 kB / 393.3 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.525e-05/0.004094, allocations: 71.94 kB / 393.4 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.004103, allocations: 192 / 393.4 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.00411, allocations: 4.375 kB / 393.4 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.004117, allocations: 3.938 kB / 393.4 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.515e-05/0.004162, allocations: 23.91 kB / 393.4 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.963e-05/0.004252, allocations: 68.98 kB / 393.5 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.103e-05/0.004333, allocations: 46.62 kB / 393.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.004355, allocations: 16.86 kB / 393.6 MB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.004522, allocations: 35.95 kB / 393.6 MB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.00455, allocations: 46.72 kB / 393.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.00455, allocations: 0 / 393.6 MB, free: 4.789 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.02041/0.02496, allocations: 8.667 MB / 402.3 MB, free: 11.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.02499, allocations: 55.41 kB / 402.4 MB, free: 11.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.409e-05/0.02505, allocations: 98.72 kB / 402.5 MB, free: 11.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.84e-05/0.02515, allocations: 29.83 kB / 402.5 MB, free: 11.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.02517, allocations: 80.14 kB / 402.6 MB, free: 11.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.0253, allocations: 63.52 kB / 402.6 MB, free: 11.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.02562, allocations: 57.59 kB / 402.7 MB, free: 11.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.02571, allocations: 318.8 kB / 403 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007198/0.02643, allocations: 0.6679 MB / 403.7 MB, free: 10.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.02695, allocations: 0.664 MB / 404.3 MB, free: 9.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009703/0.02792, allocations: 1.441 MB / 405.8 MB, free: 8.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.02792, allocations: 0 / 405.8 MB, free: 8.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001109/0.02903, allocations: 1.427 MB / 407.2 MB, free: 7.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.02904, allocations: 7.938 kB / 407.2 MB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.02905, allocations: 7.984 kB / 407.2 MB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.02906, allocations: 4 kB / 407.2 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/0.02972, allocations: 119.8 kB / 407.3 MB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.02973, allocations: 4 kB / 407.3 MB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.03001, allocations: 12 kB / 407.4 MB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.03013, allocations: 19.94 kB / 407.4 MB, free: 6.871 MB / 394.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 (18): * Single equations (assignments): 18 * 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 0.0002206/0.03035, allocations: 113.8 kB / 407.5 MB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.03048, allocations: 23.91 kB / 407.5 MB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/0.03369, allocations: 1.977 MB / 409.5 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.03369, allocations: 8 kB / 409.5 MB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.0337, allocations: 0 / 409.5 MB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.0337, allocations: 3.984 kB / 409.5 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.03586, allocations: 1.869 MB / 411.4 MB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.03586, allocations: 4 kB / 411.4 MB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.03697, allocations: 195.8 kB / 411.6 MB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.03699, allocations: 39.67 kB / 411.6 MB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.037, allocations: 4 kB / 411.6 MB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-05/0.03709, allocations: 19.98 kB / 411.6 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.0371, allocations: 8 kB / 411.6 MB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.0371, allocations: 0 / 411.6 MB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.03912, allocations: 1.648 MB / 413.3 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.03926, allocations: 16 kB / 413.3 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.03968, allocations: 32.05 kB / 413.3 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.03989, allocations: 48.89 kB / 413.4 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.03999, allocations: 19.98 kB / 413.4 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.217e-06/0.04, allocations: 8.859 kB / 413.4 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04, allocations: 0 / 413.4 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005688/0.04057, allocations: 255.7 kB / 413.6 MB, free: 0.5195 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (89): * Single equations (assignments): 89 * 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.0004183/0.04099, allocations: 251.8 kB / 413.9 MB, free: 272 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.04237, allocations: 1.237 MB / 415.1 MB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.04238, allocations: 12.08 kB / 415.1 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006799/0.04306, allocations: 0.5473 MB / 415.7 MB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.0434, allocations: 63.61 kB / 415.8 MB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.04648, allocations: 1.114 MB / 416.9 MB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.779e-05/0.04654, allocations: 108 kB / 417 MB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002207/0.04875, allocations: 0.7015 MB / 417.7 MB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/0.05003, allocations: 127.3 kB / 417.8 MB, free: 12.31 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.05003, allocations: 0 / 417.8 MB, free: 12.31 MB / 410.7 MB Notification: Performance of Templates: time 0.1853/0.2353, allocations: 26.2 MB / 444 MB, free: 30.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5230124332010746]