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.0009278/0.0009278, allocations: 81.95 kB / 20.68 MB, free: 3.812 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.001121/0.001121, allocations: 181.4 kB / 24.09 MB, free: 416 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.997/0.997, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.5969/0.5969, allocations: 110.3 MB / 371.3 MB, free: 12.38 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 2.595e-06/2.595e-06, allocations: 0 / 475.7 MB, free: 15.05 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.963e-05, allocations: 3.188 kB / 475.7 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001947/0.001977, allocations: 0.628 MB / 476.3 MB, free: 14.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.003681, allocations: 1.34 MB / 477.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.003719, allocations: 0.5312 kB / 477.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.003742, allocations: 0 / 477.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.758e-05/0.00377, allocations: 5.438 kB / 477.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.004217, allocations: 79.98 kB / 477.8 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.71e-05/0.004264, allocations: 26.12 kB / 477.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.531e-05/0.0043, allocations: 2.594 kB / 477.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.588e-05/0.004335, allocations: 19.64 kB / 477.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.004398, allocations: 12.64 kB / 477.8 MB, free: 13.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.00441, allocations: 0 / 477.8 MB, free: 13.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.004606, allocations: 107.1 kB / 477.9 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.004617, allocations: 7.938 kB / 477.9 MB, free: 13.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.364e-05/0.00463, allocations: 14.19 kB / 477.9 MB, free: 13.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.004751, allocations: 86.91 kB / 478 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.004755, allocations: 0 / 478 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.004756, allocations: 2.625 kB / 478 MB, free: 13.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.004759, allocations: 1.375 kB / 478 MB, free: 13.62 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.0003528/0.005112, allocations: 379.2 kB / 478.4 MB, free: 13.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.00515, allocations: 12.03 kB / 478.4 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.00518, allocations: 11.61 kB / 478.4 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.821e-05/0.005238, allocations: 115.7 kB / 478.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.005249, allocations: 384 / 478.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.005267, allocations: 5.875 kB / 478.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.398e-05/0.005351, allocations: 74.16 kB / 478.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.005361, allocations: 192 / 478.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.005368, allocations: 4.359 kB / 478.6 MB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.005374, allocations: 8.406 kB / 478.6 MB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.005407, allocations: 19.52 kB / 478.6 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.473e-05/0.005502, allocations: 111.3 kB / 478.8 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.00557, allocations: 53.66 kB / 478.8 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.005588, allocations: 21.66 kB / 478.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.00575, allocations: 41.38 kB / 478.9 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.005781, allocations: 35.98 kB / 478.9 MB, free: 12.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.005782, allocations: 0 / 478.9 MB, free: 12.8 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.01073/0.01651, allocations: 5.21 MB / 484.1 MB, free: 11.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.01654, allocations: 52.91 kB / 484.2 MB, free: 11.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.146e-05/0.01659, allocations: 156.9 kB / 484.3 MB, free: 11.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.01664, allocations: 31.02 kB / 484.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.56e-05/0.01665, allocations: 128 kB / 484.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.342e-05/0.01674, allocations: 57.69 kB / 484.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.01689, allocations: 100.5 kB / 484.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003472/0.01724, allocations: 0.4904 MB / 485.1 MB, free: 26.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.01762, allocations: 396.8 kB / 485.5 MB, free: 26.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.0181, allocations: 396.8 kB / 485.9 MB, free: 26.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.01961, allocations: 0.9389 MB / 486.8 MB, free: 26.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01961, allocations: 0 / 486.8 MB, free: 26.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001139/0.02075, allocations: 0.9743 MB / 487.8 MB, free: 26.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.02077, allocations: 5.438 kB / 487.8 MB, free: 26.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.02078, allocations: 0 / 487.8 MB, free: 26.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.02079, allocations: 5.438 kB / 487.8 MB, free: 26.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.02117, allocations: 90.2 kB / 487.9 MB, free: 26.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.02117, allocations: 1.188 kB / 487.9 MB, free: 26.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.02136, allocations: 11 kB / 487.9 MB, free: 26.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.02142, allocations: 33.66 kB / 487.9 MB, free: 26.72 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.0001542/0.02157, allocations: 163.1 kB / 488.1 MB, free: 26.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.156e-05/0.02166, allocations: 19.27 kB / 488.1 MB, free: 26.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.02333, allocations: 1.215 MB / 489.3 MB, free: 26.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.02334, allocations: 3.844 kB / 489.3 MB, free: 26.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.02334, allocations: 0 / 489.3 MB, free: 26.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.02335, allocations: 3.281 kB / 489.3 MB, free: 26.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.02511, allocations: 1.488 MB / 490.8 MB, free: 25.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.02512, allocations: 0 / 490.8 MB, free: 25.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.02547, allocations: 115.8 kB / 491 MB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.02548, allocations: 5.109 kB / 491 MB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.02552, allocations: 25.47 kB / 491 MB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.02553, allocations: 6.531 kB / 491 MB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.02553, allocations: 1.062 kB / 491 MB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.02676, allocations: 1.142 MB / 492.1 MB, free: 25.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.02678, allocations: 13.64 kB / 492.1 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.02683, allocations: 6.812 kB / 492.1 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.02704, allocations: 14.41 kB / 492.2 MB, free: 25.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.02712, allocations: 40.59 kB / 492.2 MB, free: 25.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.02717, allocations: 27.66 kB / 492.2 MB, free: 25.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.03e-05/0.02721, allocations: 120.3 kB / 492.3 MB, free: 25.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02721, allocations: 3.938 kB / 492.4 MB, free: 25.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005183/0.02772, allocations: 188.3 kB / 492.5 MB, free: 25.06 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.0003757/0.0281, allocations: 251 kB / 492.8 MB, free: 24.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006855/0.02879, allocations: 0.7483 MB / 493.5 MB, free: 24.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02879, allocations: 0 / 493.5 MB, free: 24.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.02903, allocations: 355.4 kB / 493.9 MB, free: 24.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.02923, allocations: 36.92 kB / 493.9 MB, free: 24.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.03061, allocations: 0.7113 MB / 494.6 MB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.03065, allocations: 83.23 kB / 494.7 MB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005453/0.0312, allocations: 284.7 kB / 495 MB, free: 23.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/0.03171, allocations: 172.4 kB / 495.2 MB, free: 23.15 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03171, allocations: 4 kB / 495.2 MB, free: 23.15 MB / 426.7 MB Notification: Performance of Templates: time 0.01375/0.04546, allocations: 13 MB / 0.4962 GB, free: 14.36 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.7103318497538567]