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.001067/0.001067, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001922/0.002989, allocations: 449.8 kB / 10.44 MB, free: 252 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.00132/0.00132, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00198/0.003301, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.961/0.961, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08258/1.044, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.895/1.895, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4655/2.36, allocations: 127.1 MB / 0.7435 GB, free: 4.527 MB / 0.7136 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.313e-06/1.313e-06, allocations: 0 / 0.7449 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.287e-06/1.06e-05, allocations: 7.125 kB / 0.7449 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0009592/0.0009698, allocations: 0.6731 MB / 0.7455 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002014, allocations: 1.358 MB / 0.7469 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.32e-05/0.002027, allocations: 0 / 0.7469 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.436e-06/0.00203, allocations: 0 / 0.7469 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.169e-06/0.002036, allocations: 0 / 0.7469 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.002212, allocations: 70.78 kB / 0.7469 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.584e-05/0.002258, allocations: 25.94 kB / 0.747 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.041e-05/0.002288, allocations: 5.297 kB / 0.747 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.002329, allocations: 16.64 kB / 0.747 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.002387, allocations: 15.72 kB / 0.747 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.002399, allocations: 4.656 kB / 0.747 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.002632, allocations: 119.8 kB / 0.7471 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.002646, allocations: 1.641 kB / 0.7471 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.00266, allocations: 10.08 kB / 0.7471 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.002786, allocations: 72.91 kB / 0.7472 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.002798, allocations: 0 / 0.7472 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002799, allocations: 0.7656 kB / 0.7472 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.002809, allocations: 0.5625 kB / 0.7472 GB, free: 0.8008 MB / 0.7136 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.0003444/0.003154, allocations: 265.9 kB / 0.7474 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.003184, allocations: 12.69 kB / 0.7475 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.003214, allocations: 4.922 kB / 0.7475 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.239e-05/0.003287, allocations: 106.5 kB / 0.7476 GB, free: 384 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.003296, allocations: 4.375 kB / 0.7476 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.003319, allocations: 12.95 kB / 0.7476 GB, free: 368 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.87e-05/0.003397, allocations: 77.12 kB / 0.7477 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.003404, allocations: 1.062 kB / 0.7477 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.003411, allocations: 384 / 0.7477 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.003415, allocations: 3.938 kB / 0.7477 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.003449, allocations: 21.14 kB / 0.7477 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.183e-05/0.003521, allocations: 65.05 kB / 0.7477 GB, free: 176 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.597e-05/0.003597, allocations: 51.56 kB / 0.7478 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.003614, allocations: 12.86 kB / 0.7478 GB, free: 100 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.003756, allocations: 49.52 kB / 0.7478 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.003779, allocations: 34.72 kB / 0.7479 GB, free: 12 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.003779, allocations: 0 / 0.7479 GB, free: 12 kB / 0.7136 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.01395/0.01773, allocations: 8.628 MB / 0.7563 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.01775, allocations: 55.41 kB / 0.7564 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.936e-05/0.0178, allocations: 94.72 kB / 0.7564 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-05/0.0179, allocations: 29.7 kB / 0.7565 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.108e-05/0.01792, allocations: 84.14 kB / 0.7566 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.01804, allocations: 59.47 kB / 0.7566 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.01827, allocations: 66.5 kB / 0.7567 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.01834, allocations: 322.8 kB / 0.757 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/0.01883, allocations: 0.6679 MB / 0.7576 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.01933, allocations: 0.6679 MB / 0.7583 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.0204, allocations: 1.431 MB / 0.7597 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.0204, allocations: 0 / 0.7597 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001177/0.02157, allocations: 1.433 MB / 0.7611 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.02159, allocations: 11.94 kB / 0.7611 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.02159, allocations: 0.6562 kB / 0.7611 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.0216, allocations: 0 / 0.7611 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/0.02231, allocations: 127.8 kB / 0.7612 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.02231, allocations: 4 kB / 0.7612 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.0226, allocations: 8 kB / 0.7612 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.02268, allocations: 27.88 kB / 0.7613 GB, free: 2.328 MB / 0.7292 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.0002009/0.02288, allocations: 114.5 kB / 0.7614 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.02301, allocations: 7.938 kB / 0.7614 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.0263, allocations: 1.977 MB / 0.7633 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.0263, allocations: 8 kB / 0.7633 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.02631, allocations: 0 / 0.7633 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.02631, allocations: 7.922 kB / 0.7633 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.02845, allocations: 1.87 MB / 0.7651 GB, free: 14.31 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.02845, allocations: 0 / 0.7651 GB, free: 14.31 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000809/0.02926, allocations: 203.8 kB / 0.7653 GB, free: 14.11 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.02928, allocations: 39.72 kB / 0.7654 GB, free: 14.07 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.02929, allocations: 4 kB / 0.7654 GB, free: 14.07 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/0.02935, allocations: 15.98 kB / 0.7654 GB, free: 14.05 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.02936, allocations: 4 kB / 0.7654 GB, free: 14.05 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.02936, allocations: 4.656 kB / 0.7654 GB, free: 14.04 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.03088, allocations: 1.656 MB / 0.767 GB, free: 12.37 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.03097, allocations: 12 kB / 0.767 GB, free: 12.36 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.03129, allocations: 24 kB / 0.7671 GB, free: 12.33 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.03146, allocations: 52.89 kB / 0.7671 GB, free: 12.28 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.03153, allocations: 19.98 kB / 0.7671 GB, free: 12.26 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 8.957e-06/0.03154, allocations: 9.547 kB / 0.7671 GB, free: 12.25 MB / 0.7449 GB Notification: Performance of sort global known variables: time 7e-08/0.03154, allocations: 0 / 0.7671 GB, free: 12.25 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0004578/0.032, allocations: 263.7 kB / 0.7674 GB, free: 11.99 MB / 0.7449 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.0003555/0.03235, allocations: 244.8 kB / 0.7676 GB, free: 11.74 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.03341, allocations: 1.234 MB / 0.7688 GB, free: 10.5 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.03342, allocations: 4 kB / 0.7688 GB, free: 10.5 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.03398, allocations: 0.6155 MB / 0.7694 GB, free: 9.883 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.03424, allocations: 65.8 kB / 0.7695 GB, free: 9.82 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.03655, allocations: 1.112 MB / 0.7706 GB, free: 8.68 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.523e-05/0.0366, allocations: 112 kB / 0.7707 GB, free: 8.547 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.00149/0.03809, allocations: 0.7014 MB / 0.7714 GB, free: 7.848 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.03913, allocations: 127.3 kB / 0.7715 GB, free: 7.723 MB / 0.7449 GB Notification: Performance of SimCode: time 4.41e-07/0.03913, allocations: 0 / 0.7715 GB, free: 7.723 MB / 0.7449 GB Notification: Performance of Templates: time 0.02473/0.06386, allocations: 25.96 MB / 0.7968 GB, free: 13.77 MB / 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.196990872733295]