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.001203/0.001203, allocations: 88.23 kB / 20.46 MB, free: 4.113 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.001438/0.001438, allocations: 161 kB / 23.82 MB, free: 0.7461 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.057/1.057, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.6331/0.6331, allocations: 110.2 MB / 371 MB, free: 12.48 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.993e-06/1.993e-06, allocations: 0 / 475.3 MB, free: 15.15 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.129e-05, allocations: 3.984 kB / 475.3 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002037/0.002068, allocations: 0.6336 MB / 475.9 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.003853, allocations: 1.345 MB / 477.2 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.003883, allocations: 0 / 477.2 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.003906, allocations: 0 / 477.2 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.451e-05/0.003931, allocations: 3.938 kB / 477.2 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.004469, allocations: 79.69 kB / 477.3 MB, free: 13.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.004541, allocations: 25.34 kB / 477.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.004583, allocations: 5.875 kB / 477.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.004623, allocations: 13.38 kB / 477.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.808e-05/0.004701, allocations: 13.36 kB / 477.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.004718, allocations: 0 / 477.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.005049, allocations: 106.4 kB / 477.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.00507, allocations: 10.62 kB / 477.5 MB, free: 13.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.005097, allocations: 11.11 kB / 477.5 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.005318, allocations: 90.41 kB / 477.6 MB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.005322, allocations: 0 / 477.6 MB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.005324, allocations: 1.125 kB / 477.6 MB, free: 13.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.00533, allocations: 0 / 477.6 MB, free: 13.72 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004588/0.005788, allocations: 380.4 kB / 478 MB, free: 13.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.005839, allocations: 11.41 kB / 478 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.149e-05/0.0059, allocations: 7.859 kB / 478 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.501e-05/0.005985, allocations: 115.8 kB / 478.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.006, allocations: 7.125 kB / 478.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.00603, allocations: 4.219 kB / 478.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.006167, allocations: 78.06 kB / 478.2 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.006182, allocations: 192 / 478.2 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.006195, allocations: 0.9062 kB / 478.2 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.006206, allocations: 5.656 kB / 478.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.006279, allocations: 24.64 kB / 478.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.006433, allocations: 128.3 kB / 478.3 MB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.006561, allocations: 56.31 kB / 478.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.006601, allocations: 26.92 kB / 478.4 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.006882, allocations: 38.97 kB / 478.5 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.006909, allocations: 36.05 kB / 478.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.903e-06/0.006911, allocations: 0 / 478.5 MB, free: 12.86 MB / 410.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.01626/0.02317, allocations: 5.55 MB / 484 MB, free: 11.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.02321, allocations: 54.81 kB / 484.1 MB, free: 11.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.02346, allocations: 152.6 kB / 484.2 MB, free: 27.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-05/0.02352, allocations: 29.7 kB / 484.3 MB, free: 27.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.02354, allocations: 133.6 kB / 484.4 MB, free: 27.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.02362, allocations: 65.19 kB / 484.5 MB, free: 27.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.02378, allocations: 95.77 kB / 484.6 MB, free: 27.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.02388, allocations: 498.6 kB / 485 MB, free: 26.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/0.02437, allocations: 464.1 kB / 485.5 MB, free: 26.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/0.0249, allocations: 465 kB / 486 MB, free: 26.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.02644, allocations: 1.074 MB / 487 MB, free: 26.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.02644, allocations: 0 / 487 MB, free: 26.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001596/0.02804, allocations: 1.11 MB / 488.1 MB, free: 26.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.02806, allocations: 8.625 kB / 488.1 MB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.02807, allocations: 0.5312 kB / 488.1 MB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.02809, allocations: 1.219 kB / 488.1 MB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.02862, allocations: 91.67 kB / 488.2 MB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.02863, allocations: 1.094 kB / 488.2 MB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.02889, allocations: 9.688 kB / 488.2 MB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-05/0.02897, allocations: 34.78 kB / 488.3 MB, free: 26.42 MB / 426.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.0001742/0.02915, allocations: 167.8 kB / 488.4 MB, free: 26.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.02926, allocations: 11.78 kB / 488.5 MB, free: 26.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.0316, allocations: 1.341 MB / 489.8 MB, free: 25.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.03161, allocations: 4.719 kB / 489.8 MB, free: 25.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.03161, allocations: 0 / 489.8 MB, free: 25.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.03162, allocations: 3.422 kB / 489.8 MB, free: 25.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.03387, allocations: 1.625 MB / 491.4 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.03388, allocations: 0 / 491.4 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/0.03439, allocations: 110.8 kB / 491.5 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.0344, allocations: 7.188 kB / 491.5 MB, free: 25.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.03447, allocations: 24.44 kB / 491.6 MB, free: 25.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.03447, allocations: 3.406 kB / 491.6 MB, free: 25.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.03447, allocations: 0 / 491.6 MB, free: 25.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.03635, allocations: 1.335 MB / 492.9 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.03637, allocations: 23.75 kB / 492.9 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-05/0.03645, allocations: 6.312 kB / 492.9 MB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.03673, allocations: 14.03 kB / 493 MB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.03687, allocations: 44.05 kB / 493 MB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.03693, allocations: 31.03 kB / 493 MB, free: 24.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.097e-05/0.03697, allocations: 123.6 kB / 493.1 MB, free: 24.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03697, allocations: 3.938 kB / 493.2 MB, free: 24.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005555/0.03753, allocations: 187.8 kB / 493.3 MB, free: 24.52 MB / 426.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.0004707/0.038, allocations: 248.5 kB / 493.6 MB, free: 24.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009793/0.03898, allocations: 0.8712 MB / 494.4 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.03898, allocations: 0 / 494.4 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004368/0.03942, allocations: 418.6 kB / 494.9 MB, free: 23.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.03973, allocations: 35.23 kB / 494.9 MB, free: 23.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.04176, allocations: 0.7629 MB / 495.7 MB, free: 22.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.295e-05/0.0418, allocations: 76.55 kB / 495.7 MB, free: 22.31 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007711/0.04257, allocations: 293.3 kB / 496 MB, free: 22.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/0.04305, allocations: 95.2 kB / 496.1 MB, free: 21.95 MB / 426.7 MB Notification: Performance of SimCode: time 9.41e-07/0.04305, allocations: 0 / 496.1 MB, free: 21.95 MB / 426.7 MB Notification: Performance of Templates: time 0.01629/0.05934, allocations: 13.06 MB / 0.4972 GB, free: 13.18 MB / 426.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.902003458235413]