Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.0006586/0.0006586, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008737/0.001532, allocations: 447.8 kB / 10.34 MB, free: 352 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.0006898/0.0006898, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009858/0.001676, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9407/0.9407, allocations: 177.1 MB / 189.6 MB, free: 3.738 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1762/1.117, allocations: 53.65 MB / 243.2 MB, free: 2.344 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6543/0.6543, allocations: 119.1 MB / 363.1 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06571/0.72, allocations: 37.85 MB / 400.9 MB, free: 15.29 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 4 kB / 402.3 MB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.332e-05, allocations: 5.594 kB / 402.3 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0009495/0.0009628, allocations: 0.6732 MB / 403 MB, free: 13.24 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.002083, allocations: 1.349 MB / 404.3 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.477e-05/0.002098, allocations: 4 kB / 404.3 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.767e-06/0.002101, allocations: 0 / 404.3 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.19e-06/0.002106, allocations: 0 / 404.3 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.002288, allocations: 75.59 kB / 404.4 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.689e-05/0.002335, allocations: 23.92 kB / 404.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.275e-05/0.002367, allocations: 4 kB / 404.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.12e-05/0.002408, allocations: 19.92 kB / 404.4 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.002465, allocations: 11.97 kB / 404.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.002476, allocations: 0 / 404.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.002678, allocations: 123.8 kB / 404.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.002688, allocations: 7.938 kB / 404.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.197e-05/0.0027, allocations: 4 kB / 404.6 MB, free: 11.6 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.002816, allocations: 67.88 kB / 404.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.002826, allocations: 4 kB / 404.7 MB, free: 11.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.002827, allocations: 0 / 404.7 MB, free: 11.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.002836, allocations: 0 / 404.7 MB, free: 11.53 MB / 394.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.0003093/0.003146, allocations: 276.3 kB / 404.9 MB, free: 11.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.003174, allocations: 11.89 kB / 404.9 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.003197, allocations: 8.938 kB / 405 MB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.639e-05/0.003263, allocations: 105.7 kB / 405.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.003273, allocations: 8.375 kB / 405.1 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.003292, allocations: 4.375 kB / 405.1 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.002e-05/0.003372, allocations: 71.94 kB / 405.1 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.003381, allocations: 192 / 405.1 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.003387, allocations: 384 / 405.1 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.003393, allocations: 7.938 kB / 405.1 MB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.003428, allocations: 11.98 kB / 405.2 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.988e-05/0.003508, allocations: 72.98 kB / 405.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.772e-05/0.003576, allocations: 54.5 kB / 405.3 MB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.003594, allocations: 16.84 kB / 405.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.003753, allocations: 48.19 kB / 405.3 MB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.003772, allocations: 30.56 kB / 405.4 MB, free: 10.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.003773, allocations: 0 / 405.4 MB, free: 10.72 MB / 394.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.01389/0.01766, allocations: 8.546 MB / 413.9 MB, free: 2.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.01769, allocations: 51.41 kB / 414 MB, free: 2.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.02e-05/0.01774, allocations: 102.7 kB / 414.1 MB, free: 1.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.789e-05/0.01782, allocations: 25.7 kB / 414.1 MB, free: 1.883 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.759e-05/0.01784, allocations: 80.14 kB / 414.2 MB, free: 1.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.01795, allocations: 59.53 kB / 414.2 MB, free: 1.742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.01816, allocations: 61.58 kB / 414.3 MB, free: 1.676 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.01824, allocations: 318.8 kB / 414.6 MB, free: 1.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.01873, allocations: 0.6719 MB / 415.3 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.01921, allocations: 0.6707 MB / 415.9 MB, free: 16 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.02024, allocations: 1.434 MB / 417.4 MB, free: 14.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.02024, allocations: 0 / 417.4 MB, free: 14.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001153/0.0214, allocations: 1.423 MB / 418.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.02141, allocations: 10.59 kB / 418.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.02142, allocations: 0 / 418.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.02143, allocations: 4 kB / 418.8 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/0.02216, allocations: 127.7 kB / 418.9 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.02216, allocations: 4 kB / 418.9 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.02244, allocations: 8 kB / 419 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/0.02252, allocations: 19.95 kB / 419 MB, free: 12.98 MB / 410.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.0001959/0.02272, allocations: 121.8 kB / 419.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.02284, allocations: 11.94 kB / 419.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/0.02638, allocations: 1.977 MB / 421.1 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.02639, allocations: 12 kB / 421.1 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.02639, allocations: 0 / 421.1 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.0264, allocations: 3.984 kB / 421.1 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.0285, allocations: 1.858 MB / 423 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.02851, allocations: 0 / 423 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/0.0293, allocations: 207.7 kB / 423.2 MB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.02932, allocations: 35.69 kB / 423.2 MB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.02932, allocations: 4 kB / 423.2 MB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/0.02939, allocations: 24.02 kB / 423.2 MB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.02939, allocations: 4 kB / 423.2 MB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.02939, allocations: 3.938 kB / 423.2 MB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.03091, allocations: 1.648 MB / 424.9 MB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.03102, allocations: 16 kB / 424.9 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.03133, allocations: 24 kB / 424.9 MB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.03148, allocations: 52.83 kB / 425 MB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.03155, allocations: 23.98 kB / 425 MB, free: 6.898 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.839e-06/0.03156, allocations: 8.859 kB / 425 MB, free: 6.887 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03156, allocations: 4.125 kB / 425 MB, free: 6.883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004579/0.03202, allocations: 259.7 kB / 425.3 MB, free: 6.629 MB / 410.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.0003718/0.03239, allocations: 239.8 kB / 425.5 MB, free: 6.387 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.03342, allocations: 1.242 MB / 426.7 MB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.03343, allocations: 12 kB / 426.7 MB, free: 5.133 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.03393, allocations: 0.5512 MB / 427.3 MB, free: 4.574 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.03419, allocations: 59.91 kB / 427.4 MB, free: 4.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.03666, allocations: 1.104 MB / 428.5 MB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.125e-05/0.03672, allocations: 112 kB / 428.6 MB, free: 3.254 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001592/0.03831, allocations: 0.7053 MB / 429.3 MB, free: 2.547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009789/0.03929, allocations: 127.3 kB / 429.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.03929, allocations: 0 / 429.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of Templates: time 0.02297/0.06226, allocations: 25.93 MB / 455.3 MB, free: 8.477 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5288406051695347]