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.0009126/0.0009126, allocations: 80.75 kB / 20.83 MB, free: 3.629 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.001075/0.001075, allocations: 169 kB / 24.25 MB, free: 208 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.9297/0.9297, allocations: 177.1 MB / 204.7 MB, free: 5.477 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 1.898/1.898, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] 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.724e-06/1.724e-06, allocations: 0 / 0.7754 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.173e-05, allocations: 4.844 kB / 0.7754 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.004609/0.004631, allocations: 0.6861 MB / 0.7761 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.006213, allocations: 1.35 MB / 0.7774 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.006239, allocations: 0 / 0.7774 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.006254, allocations: 0 / 0.7774 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.633e-05/0.00628, allocations: 4.703 kB / 0.7774 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.006608, allocations: 72.59 kB / 0.7775 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.86e-05/0.006667, allocations: 25.83 kB / 0.7775 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.006701, allocations: 0 / 0.7775 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.006736, allocations: 16.86 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.714e-05/0.006803, allocations: 13.28 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.006816, allocations: 4 kB / 0.7776 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.007086, allocations: 120.6 kB / 0.7777 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.007097, allocations: 4.641 kB / 0.7777 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.007115, allocations: 14.34 kB / 0.7777 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.008292, allocations: 84.42 kB / 0.7778 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.008295, allocations: 3.406 kB / 0.7778 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.41e-07/0.008296, allocations: 0 / 0.7778 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.0083, allocations: 4 kB / 0.7778 GB, free: 2.836 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.0003561/0.008656, allocations: 252.9 kB / 0.778 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.008693, allocations: 9.344 kB / 0.778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.008723, allocations: 4.938 kB / 0.778 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.825e-05/0.008801, allocations: 111 kB / 0.7781 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.008813, allocations: 8.359 kB / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.008839, allocations: 8.672 kB / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.284e-05/0.008932, allocations: 73.09 kB / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.008942, allocations: 192 / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.008953, allocations: 8.359 kB / 0.7782 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.008959, allocations: 4.938 kB / 0.7782 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.009007, allocations: 19.92 kB / 0.7782 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.661e-05/0.009103, allocations: 65.05 kB / 0.7783 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.009205, allocations: 51.22 kB / 0.7784 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.009234, allocations: 21.56 kB / 0.7784 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.009427, allocations: 41.45 kB / 0.7784 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.009454, allocations: 34.56 kB / 0.7785 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.009455, allocations: 0.9062 kB / 0.7785 GB, free: 2.051 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.02239/0.03184, allocations: 8.5 MB / 0.7868 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.03189, allocations: 59.41 kB / 0.7868 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.03196, allocations: 94.72 kB / 0.7869 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.03206, allocations: 25.7 kB / 0.7869 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.03209, allocations: 88.08 kB / 0.787 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.03225, allocations: 67.58 kB / 0.7871 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003623/0.03261, allocations: 61.58 kB / 0.7871 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.03271, allocations: 314.8 kB / 0.7874 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007386/0.03344, allocations: 0.6717 MB / 0.7881 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007364/0.03418, allocations: 0.6703 MB / 0.7887 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.03587, allocations: 1.434 MB / 0.7901 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.03588, allocations: 0 / 0.7901 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001823/0.0377, allocations: 1.43 MB / 0.7915 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.03772, allocations: 11.94 kB / 0.7916 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.03773, allocations: 4 kB / 0.7916 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.03774, allocations: 0 / 0.7916 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.0388, allocations: 87.81 kB / 0.7916 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.0388, allocations: 0 / 0.7916 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.03932, allocations: 12 kB / 0.7917 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.03946, allocations: 23.88 kB / 0.7917 GB, free: 4.52 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.000245/0.03971, allocations: 113.8 kB / 0.7918 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.03988, allocations: 15.92 kB / 0.7918 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/0.04475, allocations: 1.973 MB / 0.7937 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.04476, allocations: 11.98 kB / 0.7937 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.04476, allocations: 0 / 0.7937 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.04477, allocations: 7.922 kB / 0.7937 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.0471, allocations: 1.866 MB / 0.7956 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.0471, allocations: 0 / 0.7956 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/0.04786, allocations: 167.8 kB / 0.7957 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.04786, allocations: 0 / 0.7957 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.621e-05/0.04794, allocations: 19.98 kB / 0.7957 GB, free: 320 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.04794, allocations: 4.469 kB / 0.7957 GB, free: 316 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.04795, allocations: 0 / 0.7957 GB, free: 316 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.04958, allocations: 1.648 MB / 0.7974 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.04961, allocations: 35.69 kB / 0.7974 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.04971, allocations: 16 kB / 0.7974 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.05004, allocations: 24 kB / 0.7974 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.05018, allocations: 56.88 kB / 0.7975 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/0.05026, allocations: 24.02 kB / 0.7975 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 1.232e-05/0.05027, allocations: 12.8 kB / 0.7975 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.05027, allocations: 0 / 0.7975 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005003/0.05077, allocations: 259.7 kB / 0.7978 GB, free: 14.22 MB / 0.7605 GB 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.000445/0.05122, allocations: 247.8 kB / 0.798 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.05232, allocations: 1.23 MB / 0.7992 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.05233, allocations: 4 kB / 0.7992 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.05286, allocations: 0.5512 MB / 0.7997 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.05311, allocations: 44.08 kB / 0.7998 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.05571, allocations: 1.061 MB / 0.8008 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.386e-05/0.05577, allocations: 104 kB / 0.8009 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001552/0.05732, allocations: 0.7092 MB / 0.8016 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.05836, allocations: 123.3 kB / 0.8017 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of SimCode: time 1.343e-06/0.05836, allocations: 0 / 0.8017 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of Templates: time 0.02621/0.08457, allocations: 25.93 MB / 0.8271 GB, free: 168 kB / 0.7761 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.347961009480059]