Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009722/0.0009722, allocations: 80.88 kB / 21.55 MB, free: 2.941 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.00152/0.00152, allocations: 159.5 kB / 24.97 MB, free: 8.648 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.9816/0.9816, allocations: 177.1 MB / 205.4 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.028/2.028, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.776 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.282e-05, allocations: 6.25 kB / 0.776 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00169/0.001713, allocations: 0.6881 MB / 0.7767 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.003543, allocations: 1.349 MB / 0.778 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.101e-05/0.003574, allocations: 1.5 kB / 0.778 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.003593, allocations: 7.938 kB / 0.778 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.7e-05/0.00362, allocations: 0 / 0.778 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.004047, allocations: 74.48 kB / 0.7781 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.00411, allocations: 17.62 kB / 0.7781 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.004155, allocations: 8.5 kB / 0.7781 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.004203, allocations: 21.66 kB / 0.7781 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.004276, allocations: 9.297 kB / 0.7782 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.00429, allocations: 0.5938 kB / 0.7782 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.004616, allocations: 129 kB / 0.7783 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.00463, allocations: 0.6562 kB / 0.7783 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.004648, allocations: 14.08 kB / 0.7783 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.00482, allocations: 90.33 kB / 0.7784 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004822, allocations: 0 / 0.7784 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004823, allocations: 3.938 kB / 0.7784 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.004828, allocations: 0 / 0.7784 GB, free: 2.922 MB / 0.7292 GB 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.0003449/0.005172, allocations: 253.1 kB / 0.7786 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.005214, allocations: 14.75 kB / 0.7786 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.005244, allocations: 0.9375 kB / 0.7786 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.147e-05/0.005326, allocations: 105.8 kB / 0.7787 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.005339, allocations: 12.84 kB / 0.7788 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.005361, allocations: 5.547 kB / 0.7788 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.982e-05/0.005461, allocations: 75.94 kB / 0.7788 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.005472, allocations: 192 / 0.7788 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-06/0.00548, allocations: 2.031 kB / 0.7788 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.005489, allocations: 3.938 kB / 0.7788 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.005538, allocations: 15.98 kB / 0.7789 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.00565, allocations: 69.03 kB / 0.7789 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.936e-05/0.005749, allocations: 54.98 kB / 0.779 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/0.005776, allocations: 21.59 kB / 0.779 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.005963, allocations: 37.78 kB / 0.779 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.005992, allocations: 38.56 kB / 0.7791 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.005993, allocations: 0.5625 kB / 0.7791 GB, free: 2.141 MB / 0.7292 GB 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.01148/0.01747, allocations: 4.692 MB / 0.7836 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.01749, allocations: 51.41 kB / 0.7837 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.193e-05/0.01754, allocations: 108.1 kB / 0.7838 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.01759, allocations: 25.7 kB / 0.7838 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.01761, allocations: 80.14 kB / 0.7839 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.0177, allocations: 64.19 kB / 0.784 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.01785, allocations: 41.64 kB / 0.784 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.01792, allocations: 316.5 kB / 0.7843 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.01816, allocations: 315.9 kB / 0.7846 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.0184, allocations: 314.5 kB / 0.7849 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/0.01919, allocations: 0.7974 MB / 0.7857 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01919, allocations: 0 / 0.7857 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007327/0.01993, allocations: 0.7543 MB / 0.7864 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.01994, allocations: 9.812 kB / 0.7864 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.01995, allocations: 0 / 0.7864 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.01996, allocations: 0 / 0.7864 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.02031, allocations: 55.86 kB / 0.7865 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.02032, allocations: 0 / 0.7865 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.02048, allocations: 13.19 kB / 0.7865 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.02053, allocations: 7.984 kB / 0.7865 GB, free: 10.47 MB / 0.7448 GB 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.0001253/0.02065, allocations: 115.4 kB / 0.7866 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.02073, allocations: 11.98 kB / 0.7866 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.02212, allocations: 0.9858 MB / 0.7876 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.02213, allocations: 0 / 0.7876 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.02213, allocations: 0 / 0.7876 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.02214, allocations: 11.89 kB / 0.7876 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.02219, allocations: 12 kB / 0.7876 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.02235, allocations: 12 kB / 0.7876 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.02244, allocations: 31.88 kB / 0.7876 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006417/0.02308, allocations: 0.5905 MB / 0.7882 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00091/0.02399, allocations: 0.9442 MB / 0.7891 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002105/0.0242, allocations: 244.8 kB / 0.7894 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.805e-06/0.02421, allocations: 4.859 kB / 0.7894 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of Backend: time 4.51e-07/0.02421, allocations: 0 / 0.7894 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008522/0.02506, allocations: 0.5858 MB / 0.79 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of SimCode: time 0.000747/0.02581, allocations: 0.709 MB / 0.7906 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of Templates: time 0.01294/0.03875, allocations: 13.41 MB / 0.8037 GB, free: 8.793 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.164426660165191]