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.001086/0.001086, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002395, allocations: 449.8 kB / 10.44 MB, free: 252 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.00102/0.00102, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002378, allocations: 479.5 kB / 11.83 MB, free: 2.34 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 0.9666/0.9666, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08223/1.049, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.5632/0.5632, allocations: 110.3 MB / 354.4 MB, free: 12.29 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.06187/0.6251, allocations: 34.96 MB / 389.4 MB, free: 9.246 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.392e-06/1.392e-06, allocations: 0 / 390.8 MB, free: 7.848 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01e-05/1.149e-05, allocations: 2.312 kB / 390.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001291/0.001303, allocations: 0.6736 MB / 391.5 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.002687, allocations: 1.353 MB / 392.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.002704, allocations: 0 / 392.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.141e-06/0.00271, allocations: 3.938 kB / 392.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.002716, allocations: 0 / 392.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.002942, allocations: 75.66 kB / 392.9 MB, free: 5.723 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.61e-05/0.002999, allocations: 23.92 kB / 392.9 MB, free: 5.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.301e-05/0.003032, allocations: 0 / 392.9 MB, free: 5.699 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.00308, allocations: 19.97 kB / 393 MB, free: 5.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.003145, allocations: 7.984 kB / 393 MB, free: 5.672 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.00316, allocations: 11.88 kB / 393 MB, free: 5.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005307/0.008467, allocations: 119.8 kB / 393.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.008484, allocations: 4 kB / 393.1 MB, free: 5.539 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.535e-05/0.008499, allocations: 4 kB / 393.1 MB, free: 5.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.008656, allocations: 71.8 kB / 393.2 MB, free: 5.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.008667, allocations: 4 kB / 393.2 MB, free: 5.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.008668, allocations: 0 / 393.2 MB, free: 5.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.00868, allocations: 0 / 393.2 MB, free: 5.461 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.0003798/0.00906, allocations: 272.4 kB / 393.4 MB, free: 5.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.00909, allocations: 12.03 kB / 393.5 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.009122, allocations: 4.922 kB / 393.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.009209, allocations: 109.7 kB / 393.6 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.009221, allocations: 4.375 kB / 393.6 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.009247, allocations: 4.375 kB / 393.6 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.009352, allocations: 75.94 kB / 393.6 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.009361, allocations: 192 / 393.6 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.009369, allocations: 4.375 kB / 393.7 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.009377, allocations: 7.938 kB / 393.7 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.099e-05/0.009418, allocations: 19.97 kB / 393.7 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.185e-05/0.00951, allocations: 65.03 kB / 393.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.283e-05/0.009592, allocations: 50.5 kB / 393.8 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.009616, allocations: 17.08 kB / 393.8 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.009782, allocations: 43.97 kB / 393.9 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.009806, allocations: 38.5 kB / 393.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.009807, allocations: 0 / 393.9 MB, free: 4.652 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.02181/0.03161, allocations: 8.698 MB / 402.6 MB, free: 11.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.03164, allocations: 51.41 kB / 402.6 MB, free: 11.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.03169, allocations: 110.6 kB / 402.7 MB, free: 11.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.03179, allocations: 29.7 kB / 402.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.03181, allocations: 80.14 kB / 402.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.03194, allocations: 55.53 kB / 402.9 MB, free: 11.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.03216, allocations: 61.58 kB / 403 MB, free: 11.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.03224, allocations: 322.8 kB / 403.3 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.03272, allocations: 0.664 MB / 403.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.03321, allocations: 0.6679 MB / 404.6 MB, free: 9.746 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.03425, allocations: 1.437 MB / 406.1 MB, free: 8.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.03425, allocations: 0 / 406.1 MB, free: 8.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001169/0.03542, allocations: 1.427 MB / 407.5 MB, free: 6.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.03543, allocations: 7.938 kB / 407.5 MB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.03544, allocations: 0 / 407.5 MB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.03545, allocations: 7.938 kB / 407.5 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/0.03615, allocations: 119.8 kB / 407.6 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.03615, allocations: 3.938 kB / 407.6 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.03646, allocations: 19.98 kB / 407.6 MB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.03653, allocations: 15.95 kB / 407.7 MB, free: 6.703 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.0002019/0.03673, allocations: 113.8 kB / 407.8 MB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.03688, allocations: 19.92 kB / 407.8 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/0.0404, allocations: 1.973 MB / 409.8 MB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.04041, allocations: 8 kB / 409.8 MB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.04041, allocations: 8 kB / 409.8 MB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.04042, allocations: 3.984 kB / 409.8 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.04267, allocations: 1.862 MB / 411.6 MB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.04267, allocations: 0 / 411.6 MB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008394/0.04351, allocations: 203.8 kB / 411.8 MB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.04354, allocations: 39.67 kB / 411.9 MB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.04355, allocations: 7.938 kB / 411.9 MB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/0.04362, allocations: 15.98 kB / 411.9 MB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.04362, allocations: 4 kB / 411.9 MB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.04362, allocations: 4 kB / 411.9 MB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.04522, allocations: 1.644 MB / 413.6 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.953e-05/0.04532, allocations: 20 kB / 413.6 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.04564, allocations: 24 kB / 413.6 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.04581, allocations: 52.89 kB / 413.6 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.929e-05/0.04588, allocations: 15.98 kB / 413.7 MB, free: 0.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.201e-05/0.04589, allocations: 12.86 kB / 413.7 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.04589, allocations: 0 / 413.7 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004927/0.04638, allocations: 255.7 kB / 413.9 MB, free: 368 kB / 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.000386/0.04677, allocations: 251.8 kB / 414.2 MB, free: 108 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.0478, allocations: 1.241 MB / 415.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.04781, allocations: 4 kB / 415.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.04838, allocations: 0.6156 MB / 416 MB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.04864, allocations: 63.59 kB / 416.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.0512, allocations: 1.114 MB / 417.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.36e-05/0.05125, allocations: 104 kB / 417.3 MB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001803/0.05306, allocations: 0.7015 MB / 418 MB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.05409, allocations: 131.3 kB / 418.1 MB, free: 12.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/0.05409, allocations: 0 / 418.1 MB, free: 12.09 MB / 410.7 MB Notification: Performance of Templates: time 0.1818/0.2359, allocations: 26.23 MB / 444.4 MB, free: 29.8 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.6230304073542356]