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.00111/0.00111, allocations: 79.73 kB / 20.75 MB, free: 3.738 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.001276/0.001276, allocations: 165 kB / 24.16 MB, free: 336 kB / 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 0.9563/0.9563, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.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.6057/0.6057, allocations: 110.3 MB / 371.3 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. " [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.543e-06/1.543e-06, allocations: 0 / 422.4 MB, free: 9.312 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.521e-05, allocations: 10.25 kB / 422.5 MB, free: 9.301 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.004604/0.004629, allocations: 0.6345 MB / 423.1 MB, free: 8.664 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.006208, allocations: 1.345 MB / 424.4 MB, free: 7.301 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.006235, allocations: 0 / 424.4 MB, free: 7.301 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.006249, allocations: 0 / 424.4 MB, free: 7.301 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.273e-05/0.006272, allocations: 3.938 kB / 424.4 MB, free: 7.297 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.006659, allocations: 87.58 kB / 424.5 MB, free: 7.211 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.347e-05/0.006712, allocations: 23.97 kB / 424.5 MB, free: 7.188 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.006747, allocations: 0 / 424.5 MB, free: 7.188 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.006782, allocations: 11.98 kB / 424.6 MB, free: 7.176 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.006847, allocations: 23.91 kB / 424.6 MB, free: 7.152 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.006859, allocations: 0 / 424.6 MB, free: 7.152 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.007099, allocations: 111.8 kB / 424.7 MB, free: 7.043 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.00711, allocations: 4 kB / 424.7 MB, free: 7.039 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.007125, allocations: 7.984 kB / 424.7 MB, free: 7.031 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.01031, allocations: 87.7 kB / 424.8 MB, free: 6.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01032, allocations: 4 kB / 424.8 MB, free: 6.941 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01032, allocations: 0 / 424.8 MB, free: 6.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.01032, allocations: 0 / 424.8 MB, free: 6.941 MB / 394.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.0003444/0.01067, allocations: 260.7 kB / 425 MB, free: 6.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.0107, allocations: 15.89 kB / 425.1 MB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.01074, allocations: 8.922 kB / 425.1 MB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8e-05/0.01082, allocations: 105.8 kB / 425.2 MB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.01083, allocations: 384 / 425.2 MB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.01086, allocations: 8.375 kB / 425.2 MB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.01095, allocations: 67.94 kB / 425.2 MB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.01096, allocations: 192 / 425.2 MB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.01097, allocations: 4.375 kB / 425.3 MB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.01097, allocations: 7.938 kB / 425.3 MB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.581e-05/0.01102, allocations: 23.91 kB / 425.3 MB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.01113, allocations: 73 kB / 425.4 MB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.272e-05/0.01121, allocations: 42.56 kB / 425.4 MB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.01123, allocations: 21.08 kB / 425.4 MB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.01141, allocations: 39.95 kB / 425.5 MB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.01144, allocations: 34.5 kB / 425.5 MB, free: 6.148 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.01144, allocations: 0 / 425.5 MB, free: 6.148 MB / 394.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.02443/0.03587, allocations: 4.709 MB / 430.2 MB, free: 1.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.0359, allocations: 63.39 kB / 430.3 MB, free: 1.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.03596, allocations: 94.72 kB / 430.4 MB, free: 1.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.701e-05/0.03603, allocations: 33.7 kB / 430.4 MB, free: 1.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.543e-05/0.03606, allocations: 80.14 kB / 430.5 MB, free: 1.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.03616, allocations: 59.47 kB / 430.5 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.03634, allocations: 41.66 kB / 430.6 MB, free: 0.918 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.03643, allocations: 322.8 kB / 430.9 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.03675, allocations: 312 kB / 431.2 MB, free: 296 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/0.04009, allocations: 315.9 kB / 431.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.04115, allocations: 0.7936 MB / 432.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.04115, allocations: 4.125 kB / 432.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009808/0.04213, allocations: 0.7511 MB / 433 MB, free: 14.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.04215, allocations: 7.938 kB / 433 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.04216, allocations: 0 / 433 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.04218, allocations: 4 kB / 433.1 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.04261, allocations: 47.88 kB / 433.1 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.04261, allocations: 0 / 433.1 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.04284, allocations: 12 kB / 433.1 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.04289, allocations: 3.984 kB / 433.1 MB, free: 14.35 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 (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.003169/0.04606, allocations: 121.8 kB / 433.2 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.636e-05/0.04616, allocations: 15.94 kB / 433.3 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.04796, allocations: 0.9659 MB / 434.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.04797, allocations: 8 kB / 434.2 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.04797, allocations: 0 / 434.2 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.04798, allocations: 0 / 434.2 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004562/0.05254, allocations: 0.9799 MB / 435.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.05254, allocations: 0 / 435.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.05298, allocations: 67.91 kB / 435.3 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.05299, allocations: 4 kB / 435.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.05304, allocations: 4 kB / 435.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.05304, allocations: 7.984 kB / 435.3 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.05304, allocations: 0 / 435.3 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.05426, allocations: 0.869 MB / 436.2 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.05429, allocations: 19.84 kB / 436.2 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.128e-05/0.05436, allocations: 8.062 kB / 436.2 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.05461, allocations: 16 kB / 436.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.945e-05/0.05471, allocations: 23.95 kB / 436.2 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.05477, allocations: 7.984 kB / 436.2 MB, free: 11.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.355e-05/0.05478, allocations: 8.797 kB / 436.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05478, allocations: 0 / 436.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005486/0.05533, allocations: 187.7 kB / 436.4 MB, free: 10.98 MB / 410.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 (40): * Single equations (assignments): 40 * 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.0004578/0.05579, allocations: 235.8 kB / 436.7 MB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007406/0.05653, allocations: 0.5709 MB / 437.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.05653, allocations: 4.094 kB / 437.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.05686, allocations: 264.5 kB / 437.5 MB, free: 9.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.05711, allocations: 23.92 kB / 437.5 MB, free: 9.875 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.0585, allocations: 0.5136 MB / 438 MB, free: 9.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.705e-05/0.05855, allocations: 77.34 kB / 438.1 MB, free: 9.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006205/0.05917, allocations: 297.5 kB / 438.4 MB, free: 8.949 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/0.05964, allocations: 83.34 kB / 438.5 MB, free: 8.867 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.05964, allocations: 0 / 438.5 MB, free: 8.867 MB / 410.7 MB Notification: Performance of Templates: time 0.213/0.2726, allocations: 12.96 MB / 451.4 MB, free: 36.86 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.4612835687585175]