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.0009939/0.0009939, allocations: 96.2 kB / 20.43 MB, free: 4.133 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.001113/0.001113, allocations: 169 kB / 23.8 MB, free: 0.7656 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 1.048/1.048, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6549/0.6549, allocations: 115 MB / 375.7 MB, free: 7.66 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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 1.724e-06/1.724e-06, allocations: 0 / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.911e-05, allocations: 9.719 kB / 481.6 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001801/0.001831, allocations: 0.6283 MB / 482.2 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.003705, allocations: 1.354 MB / 483.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.003743, allocations: 0.6875 kB / 483.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.003772, allocations: 0 / 483.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.983e-05/0.003801, allocations: 1.625 kB / 483.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.004295, allocations: 85.94 kB / 483.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.658e-05/0.004372, allocations: 21.2 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.004414, allocations: 3.781 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.004461, allocations: 18.75 kB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.717e-05/0.004538, allocations: 14.44 kB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.004554, allocations: 1.094 kB / 483.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.00486, allocations: 108 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.004874, allocations: 1.406 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.004899, allocations: 19.16 kB / 483.8 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.005091, allocations: 85.73 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005094, allocations: 0 / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.005095, allocations: 0 / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.005101, allocations: 0.625 kB / 483.9 MB, free: 10.41 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.0004117/0.005512, allocations: 378.3 kB / 484.3 MB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.005564, allocations: 9.531 kB / 484.3 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.005623, allocations: 10.47 kB / 484.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.203e-05/0.005705, allocations: 118.3 kB / 484.4 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.00572, allocations: 1.562 kB / 484.4 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.00575, allocations: 7.906 kB / 484.4 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.005875, allocations: 77.59 kB / 484.5 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.005887, allocations: 0.875 kB / 484.5 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.0059, allocations: 5.484 kB / 484.5 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.00591, allocations: 6.531 kB / 484.5 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.728e-05/0.005977, allocations: 15.31 kB / 484.5 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.006132, allocations: 127.2 kB / 484.7 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.006254, allocations: 66.78 kB / 484.7 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.006297, allocations: 21.53 kB / 484.7 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.006558, allocations: 41.11 kB / 484.8 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.006583, allocations: 34.45 kB / 484.8 MB, free: 9.547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.006585, allocations: 0 / 484.8 MB, free: 9.547 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.0125/0.01908, allocations: 5.526 MB / 490.3 MB, free: 8.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.01912, allocations: 56.72 kB / 490.4 MB, free: 8.402 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.01935, allocations: 152.1 kB / 490.6 MB, free: 24.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/0.01941, allocations: 28.33 kB / 490.6 MB, free: 24.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.01945, allocations: 134.9 kB / 490.7 MB, free: 24.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.01953, allocations: 57.81 kB / 490.8 MB, free: 24.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.01971, allocations: 101.9 kB / 490.9 MB, free: 23.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.01982, allocations: 0.4905 MB / 491.4 MB, free: 23.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.02032, allocations: 459.1 kB / 491.8 MB, free: 23.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.0208, allocations: 466.1 kB / 492.3 MB, free: 23.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.02207, allocations: 1.077 MB / 493.3 MB, free: 23.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02208, allocations: 4.531 kB / 493.3 MB, free: 23.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001346/0.02342, allocations: 1.11 MB / 494.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.02345, allocations: 7.25 kB / 494.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.02345, allocations: 0 / 494.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.02347, allocations: 1.219 kB / 494.5 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.02391, allocations: 95.44 kB / 494.6 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.02392, allocations: 0.6875 kB / 494.6 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.02412, allocations: 10.94 kB / 494.6 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.149e-05/0.02418, allocations: 33.39 kB / 494.6 MB, free: 23.1 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.0001565/0.02434, allocations: 163 kB / 494.8 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.02444, allocations: 22.98 kB / 494.8 MB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.02615, allocations: 1.333 MB / 496.1 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.02615, allocations: 4 kB / 496.1 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.02616, allocations: 0 / 496.1 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02617, allocations: 0 / 496.1 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.02783, allocations: 1.632 MB / 497.8 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.02783, allocations: 4 kB / 497.8 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.02819, allocations: 106.3 kB / 497.9 MB, free: 20.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.0282, allocations: 0 / 497.9 MB, free: 20.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.02824, allocations: 35.28 kB / 497.9 MB, free: 20.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.02824, allocations: 4.031 kB / 497.9 MB, free: 20.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.02825, allocations: 0 / 497.9 MB, free: 20.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.02955, allocations: 1.335 MB / 499.2 MB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.02957, allocations: 19.84 kB / 499.3 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.02963, allocations: 8 kB / 499.3 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.02985, allocations: 15.05 kB / 499.3 MB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.02995, allocations: 44.28 kB / 499.3 MB, free: 19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.02999, allocations: 24 kB / 499.3 MB, free: 18.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.684e-05/0.03003, allocations: 123.2 kB / 499.5 MB, free: 18.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03003, allocations: 128 / 499.5 MB, free: 18.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004221/0.03045, allocations: 194.1 kB / 499.6 MB, free: 18.68 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.000386/0.03084, allocations: 241.9 kB / 499.9 MB, free: 18.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008667/0.03171, allocations: 0.8762 MB / 0.489 GB, free: 17.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.03171, allocations: 0 / 0.489 GB, free: 17.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.03205, allocations: 416.1 kB / 0.4894 GB, free: 17.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.03233, allocations: 38.25 kB / 0.4895 GB, free: 17.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.03397, allocations: 0.7653 MB / 0.4902 GB, free: 16.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.178e-05/0.03401, allocations: 84.17 kB / 0.4903 GB, free: 16.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005546/0.03457, allocations: 292.8 kB / 0.4906 GB, free: 16.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.03495, allocations: 97.67 kB / 0.4907 GB, free: 16.04 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.03496, allocations: 4 kB / 0.4907 GB, free: 16.03 MB / 426.7 MB Notification: Performance of Templates: time 0.01552/0.05048, allocations: 13.01 MB / 0.5034 GB, free: 5.945 MB / 426.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.686892105266452]