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.001573/0.001573, allocations: 88.23 kB / 20.45 MB, free: 4.117 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.001967/0.001967, allocations: 161 kB / 23.82 MB, free: 0.75 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.9597/0.9597, 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.5634/0.5634, allocations: 110.3 MB / 371 MB, free: 12.52 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.783e-06/1.783e-06, allocations: 0.9844 kB / 475.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.554e-05, allocations: 5.359 kB / 475.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001299/0.001324, allocations: 0.6276 MB / 475.9 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.002712, allocations: 1.345 MB / 477.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.002741, allocations: 0 / 477.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.002762, allocations: 0 / 477.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.932e-05/0.002781, allocations: 3.781 kB / 477.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.003143, allocations: 85 kB / 477.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.282e-05/0.003196, allocations: 25.31 kB / 477.3 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.003233, allocations: 0 / 477.3 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.003263, allocations: 16.61 kB / 477.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.003324, allocations: 12.81 kB / 477.4 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.003337, allocations: 0 / 477.4 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.00358, allocations: 106.7 kB / 477.5 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.003593, allocations: 9.922 kB / 477.5 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.003613, allocations: 10.73 kB / 477.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.003759, allocations: 86.84 kB / 477.6 MB, free: 13.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.00376, allocations: 0 / 477.6 MB, free: 13.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003761, allocations: 0 / 477.6 MB, free: 13.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.003766, allocations: 1 kB / 477.6 MB, free: 13.76 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.0003347/0.0041, allocations: 382.2 kB / 478 MB, free: 13.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.004137, allocations: 14.09 kB / 478 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.004179, allocations: 12.73 kB / 478 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.028e-05/0.00424, allocations: 113.6 kB / 478.1 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.004251, allocations: 384 / 478.1 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.004279, allocations: 8.094 kB / 478.1 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.007415, allocations: 79.42 kB / 478.2 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.007426, allocations: 192 / 478.2 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.007438, allocations: 384 / 478.2 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.007447, allocations: 7.469 kB / 478.2 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.573e-05/0.007503, allocations: 24.45 kB / 478.2 MB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.007619, allocations: 120.8 kB / 478.3 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.704e-05/0.007717, allocations: 63.2 kB / 478.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.007748, allocations: 18.19 kB / 478.4 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.007959, allocations: 39.88 kB / 478.4 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.007978, allocations: 36.02 kB / 478.5 MB, free: 12.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.007979, allocations: 0 / 478.5 MB, free: 12.91 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.01461/0.02259, allocations: 5.55 MB / 484 MB, free: 11.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.02261, allocations: 58.19 kB / 484.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.15e-05/0.02265, allocations: 155.3 kB / 484.2 MB, free: 11.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.0227, allocations: 25.7 kB / 484.3 MB, free: 11.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.02289, allocations: 133.4 kB / 484.4 MB, free: 27.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.02296, allocations: 64.84 kB / 484.5 MB, free: 27.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.02312, allocations: 97.38 kB / 484.6 MB, free: 27.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.02321, allocations: 0.4905 MB / 485 MB, free: 26.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.02365, allocations: 464.7 kB / 485.5 MB, free: 26.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/0.02407, allocations: 468.3 kB / 486 MB, free: 26.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.02526, allocations: 1.074 MB / 487 MB, free: 26.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.02526, allocations: 0 / 487 MB, free: 26.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001261/0.02652, allocations: 1.105 MB / 488.1 MB, free: 26.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.02654, allocations: 5.781 kB / 488.1 MB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.02655, allocations: 5.406 kB / 488.1 MB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.02656, allocations: 1.406 kB / 488.1 MB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.02708, allocations: 90.09 kB / 488.2 MB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.02709, allocations: 4.375 kB / 488.2 MB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.02742, allocations: 10.44 kB / 488.2 MB, free: 26.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/0.02751, allocations: 32.86 kB / 488.3 MB, free: 26.45 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.0001718/0.02768, allocations: 166.1 kB / 488.4 MB, free: 26.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.02781, allocations: 14.97 kB / 488.5 MB, free: 26.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.03002, allocations: 1.334 MB / 489.8 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.03002, allocations: 4.906 kB / 489.8 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.03003, allocations: 0 / 489.8 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.03003, allocations: 3.422 kB / 489.8 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.0319, allocations: 1.629 MB / 491.4 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.0319, allocations: 1.156 kB / 491.4 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.0323, allocations: 106.7 kB / 491.5 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.03231, allocations: 2.781 kB / 491.5 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.03236, allocations: 29.25 kB / 491.6 MB, free: 25.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.03236, allocations: 1.312 kB / 491.6 MB, free: 25.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.03236, allocations: 5.188 kB / 491.6 MB, free: 25.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.03386, allocations: 1.334 MB / 492.9 MB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.03388, allocations: 20.59 kB / 492.9 MB, free: 24.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.03394, allocations: 10.72 kB / 492.9 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.03415, allocations: 10.5 kB / 492.9 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/0.03425, allocations: 44.69 kB / 493 MB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.0343, allocations: 26.59 kB / 493 MB, free: 24.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.534e-05/0.03433, allocations: 120.3 kB / 493.1 MB, free: 24.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03433, allocations: 0 / 493.1 MB, free: 24.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000462/0.0348, allocations: 195.2 kB / 493.3 MB, free: 24.57 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.0003858/0.03518, allocations: 248.8 kB / 493.6 MB, free: 24.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007444/0.03593, allocations: 0.8746 MB / 494.4 MB, free: 23.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.03593, allocations: 0 / 494.4 MB, free: 23.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.03627, allocations: 410.8 kB / 494.8 MB, free: 23.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.0365, allocations: 39.19 kB / 494.9 MB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.03815, allocations: 0.765 MB / 495.6 MB, free: 22.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.03819, allocations: 80.16 kB / 495.7 MB, free: 22.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006204/0.03881, allocations: 294 kB / 496 MB, free: 22.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.03924, allocations: 94.39 kB / 496.1 MB, free: 21.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03925, allocations: 0 / 496.1 MB, free: 21.96 MB / 426.7 MB Notification: Performance of Templates: time 0.01233/0.05158, allocations: 12.3 MB / 0.4965 GB, free: 13.96 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.863172783050686]