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.001018/0.001018, allocations: 82.64 kB / 21.47 MB, free: 3.023 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.001067/0.001067, allocations: 161.4 kB / 24.87 MB, free: 9.195 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 0.9439/0.9439, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.6016/0.6016, allocations: 110.3 MB / 372.1 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.263e-06/1.263e-06, allocations: 0 / 476.5 MB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.253e-05, allocations: 2.312 kB / 476.5 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001201/0.001224, allocations: 0.6272 MB / 477.1 MB, free: 14.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.002454, allocations: 1.337 MB / 478.5 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.002479, allocations: 1.125 kB / 478.5 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.002495, allocations: 3.938 kB / 478.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.277e-05/0.002517, allocations: 0 / 478.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.002898, allocations: 86.03 kB / 478.5 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.002948, allocations: 21.95 kB / 478.6 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.002985, allocations: 7.172 kB / 478.6 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.225e-05/0.003017, allocations: 16.45 kB / 478.6 MB, free: 13.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.275e-05/0.00308, allocations: 6 kB / 478.6 MB, free: 13.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.003092, allocations: 2.625 kB / 478.6 MB, free: 13.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.003305, allocations: 115.6 kB / 478.7 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.003318, allocations: 14.12 kB / 478.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.309e-05/0.003331, allocations: 5.125 kB / 478.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.003458, allocations: 91.67 kB / 478.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.00346, allocations: 3.938 kB / 478.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.003462, allocations: 0 / 478.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003465, allocations: 0 / 478.8 MB, free: 13.59 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.0002845/0.00375, allocations: 375.5 kB / 479.2 MB, free: 13.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.003783, allocations: 11.91 kB / 479.2 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.003813, allocations: 13.55 kB / 479.2 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.678e-05/0.00387, allocations: 115.5 kB / 479.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.003879, allocations: 3.656 kB / 479.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.003898, allocations: 8.219 kB / 479.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.446e-05/0.003973, allocations: 73.64 kB / 479.4 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.003981, allocations: 192 / 479.4 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.003988, allocations: 4.375 kB / 479.4 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.003993, allocations: 3.938 kB / 479.4 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.722e-05/0.00403, allocations: 14.7 kB / 479.4 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.436e-05/0.004124, allocations: 107.3 kB / 479.5 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.608e-05/0.0042, allocations: 61.91 kB / 479.6 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.004221, allocations: 21.41 kB / 479.6 MB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.004384, allocations: 39.62 kB / 479.7 MB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.004399, allocations: 36.05 kB / 479.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.0044, allocations: 0 / 479.7 MB, free: 12.77 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.01097/0.01537, allocations: 5.204 MB / 484.9 MB, free: 11.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.0154, allocations: 57.25 kB / 485 MB, free: 11.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.726e-05/0.01546, allocations: 155.4 kB / 485.1 MB, free: 11.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.01552, allocations: 32.33 kB / 485.1 MB, free: 11.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.155e-05/0.01554, allocations: 126.9 kB / 485.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.495e-05/0.01564, allocations: 58.25 kB / 485.3 MB, free: 11.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.01582, allocations: 99.42 kB / 485.4 MB, free: 11.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004314/0.01625, allocations: 498.1 kB / 485.9 MB, free: 26.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.01666, allocations: 391 kB / 486.3 MB, free: 26.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.01706, allocations: 400.3 kB / 486.7 MB, free: 26.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.01814, allocations: 0.9466 MB / 487.6 MB, free: 26.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01814, allocations: 0 / 487.6 MB, free: 26.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001121/0.01926, allocations: 0.9765 MB / 488.6 MB, free: 26.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.01928, allocations: 5.25 kB / 488.6 MB, free: 26.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01928, allocations: 0 / 488.6 MB, free: 26.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.0193, allocations: 6.375 kB / 488.6 MB, free: 26.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.01973, allocations: 94 kB / 488.7 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.01973, allocations: 1.031 kB / 488.7 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.01995, allocations: 10.94 kB / 488.7 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.02001, allocations: 32.69 kB / 488.7 MB, free: 26.69 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.0001593/0.02017, allocations: 161 kB / 488.9 MB, free: 26.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.02027, allocations: 18.64 kB / 488.9 MB, free: 26.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.02203, allocations: 1.22 MB / 490.1 MB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.02204, allocations: 6.562 kB / 490.1 MB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.02204, allocations: 1.094 kB / 490.1 MB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.02204, allocations: 0 / 490.1 MB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.02381, allocations: 1.489 MB / 491.6 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.02382, allocations: 0 / 491.6 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.02424, allocations: 112.2 kB / 491.7 MB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.02425, allocations: 1.656 kB / 491.7 MB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.0243, allocations: 24.78 kB / 491.8 MB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.0243, allocations: 1.688 kB / 491.8 MB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.0243, allocations: 5.75 kB / 491.8 MB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.02563, allocations: 1.142 MB / 492.9 MB, free: 25.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.02564, allocations: 17.33 kB / 492.9 MB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.02571, allocations: 6.25 kB / 492.9 MB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.02594, allocations: 17.75 kB / 493 MB, free: 25.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/0.02603, allocations: 41.47 kB / 493 MB, free: 25.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/0.02608, allocations: 28.12 kB / 493 MB, free: 25.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.906e-05/0.02612, allocations: 120.4 kB / 493.1 MB, free: 25.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02612, allocations: 0 / 493.1 MB, free: 25.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005184/0.02664, allocations: 184.1 kB / 493.3 MB, free: 25.03 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.0004333/0.02707, allocations: 254.1 kB / 493.6 MB, free: 24.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007356/0.02781, allocations: 0.7463 MB / 494.3 MB, free: 24.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02781, allocations: 0 / 494.3 MB, free: 24.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.02808, allocations: 351.3 kB / 494.7 MB, free: 24.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.02832, allocations: 35.94 kB / 494.7 MB, free: 24.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.02988, allocations: 0.7095 MB / 495.4 MB, free: 23.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.419e-05/0.02992, allocations: 79.92 kB / 495.5 MB, free: 23.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006055/0.03052, allocations: 293.9 kB / 495.8 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/0.03105, allocations: 168.3 kB / 495.9 MB, free: 23.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.343e-06/0.03105, allocations: 0 / 495.9 MB, free: 23.07 MB / 426.7 MB Notification: Performance of Templates: time 0.01349/0.04455, allocations: 13.33 MB / 0.4973 GB, free: 14.04 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.6762432539835572]