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.001433/0.001433, allocations: 80.8 kB / 21.55 MB, free: 2.938 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.001192/0.001192, allocations: 170.7 kB / 24.96 MB, free: 8.742 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.004/1.004, allocations: 177.1 MB / 205.4 MB, free: 5.488 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.964/1.964, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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 5.35e-06/5.35e-06, allocations: 0 / 0.776 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.959e-05, allocations: 2.312 kB / 0.776 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001861/0.001891, allocations: 0.6915 MB / 0.7767 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.003627, allocations: 1.349 MB / 0.778 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.003653, allocations: 4 kB / 0.778 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.003672, allocations: 0.6562 kB / 0.778 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.775e-05/0.0037, allocations: 3.938 kB / 0.778 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.00407, allocations: 73.52 kB / 0.7781 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.033e-05/0.00413, allocations: 19.16 kB / 0.7781 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.004167, allocations: 7.984 kB / 0.7781 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.004206, allocations: 16.97 kB / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.004274, allocations: 8.75 kB / 0.7782 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.004288, allocations: 0.5 kB / 0.7782 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.004599, allocations: 125.1 kB / 0.7783 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.004615, allocations: 9.516 kB / 0.7783 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.004632, allocations: 7.266 kB / 0.7783 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.0048, allocations: 93.28 kB / 0.7784 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004802, allocations: 0 / 0.7784 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004803, allocations: 0 / 0.7784 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.004806, allocations: 0 / 0.7784 GB, free: 2.957 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.0003398/0.005146, allocations: 259.8 kB / 0.7786 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.005176, allocations: 9.344 kB / 0.7786 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.005203, allocations: 16.84 kB / 0.7786 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.056e-05/0.005274, allocations: 101.8 kB / 0.7787 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.005284, allocations: 4.375 kB / 0.7788 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.005304, allocations: 12.67 kB / 0.7788 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.724e-05/0.005381, allocations: 71.94 kB / 0.7788 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005389, allocations: 2.969 kB / 0.7788 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.005396, allocations: 384 / 0.7788 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.005402, allocations: 3.938 kB / 0.7788 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.005434, allocations: 19.92 kB / 0.7789 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.175e-05/0.005516, allocations: 73.03 kB / 0.7789 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.606e-05/0.005582, allocations: 46.56 kB / 0.779 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.005599, allocations: 17.09 kB / 0.779 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.005746, allocations: 41.86 kB / 0.779 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.005765, allocations: 30.56 kB / 0.7791 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.005766, allocations: 0.9062 kB / 0.7791 GB, free: 2.176 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.01098/0.01675, allocations: 4.703 MB / 0.7837 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.01678, allocations: 55.41 kB / 0.7837 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.908e-05/0.01683, allocations: 103.6 kB / 0.7838 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.01688, allocations: 29.7 kB / 0.7838 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.82e-05/0.0169, allocations: 81.33 kB / 0.7839 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.355e-05/0.01697, allocations: 59.47 kB / 0.784 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.01711, allocations: 45.66 kB / 0.784 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.01718, allocations: 318.8 kB / 0.7843 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.01741, allocations: 313.5 kB / 0.7846 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.01764, allocations: 316 kB / 0.7849 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/0.0184, allocations: 0.7962 MB / 0.7857 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.0184, allocations: 0 / 0.7857 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007009/0.0191, allocations: 0.7483 MB / 0.7864 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.01912, allocations: 7.938 kB / 0.7864 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01912, allocations: 4.922 kB / 0.7864 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.01914, allocations: 4 kB / 0.7864 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.0195, allocations: 47.92 kB / 0.7865 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.0195, allocations: 0.5625 kB / 0.7865 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.01967, allocations: 13.62 kB / 0.7865 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.01971, allocations: 7.969 kB / 0.7865 GB, free: 10.49 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.0001231/0.01983, allocations: 121.8 kB / 0.7866 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.0199, allocations: 11.94 kB / 0.7866 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.02123, allocations: 0.9788 MB / 0.7876 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.02123, allocations: 4 kB / 0.7876 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.02124, allocations: 0 / 0.7876 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.02124, allocations: 3.984 kB / 0.7876 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.02238, allocations: 0.9685 MB / 0.7885 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.02239, allocations: 4 kB / 0.7885 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.02275, allocations: 83.86 kB / 0.7886 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.02275, allocations: 4 kB / 0.7886 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.02278, allocations: 4 kB / 0.7886 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.02279, allocations: 4 kB / 0.7886 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02279, allocations: 0 / 0.7886 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.02363, allocations: 0.8729 MB / 0.7895 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.02364, allocations: 19.84 kB / 0.7895 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.02369, allocations: 4 kB / 0.7895 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.02387, allocations: 12 kB / 0.7895 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/0.02396, allocations: 31.88 kB / 0.7896 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.02399, allocations: 12.03 kB / 0.7896 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.925e-06/0.024, allocations: 4.859 kB / 0.7896 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.024, allocations: 3.938 kB / 0.7896 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003531/0.02436, allocations: 183.7 kB / 0.7897 GB, free: 7.148 MB / 0.7448 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 (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.0003376/0.02469, allocations: 231.9 kB / 0.79 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005183/0.02521, allocations: 0.5734 MB / 0.7905 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02521, allocations: 0 / 0.7905 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.02545, allocations: 260.6 kB / 0.7908 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.02562, allocations: 26.53 kB / 0.7908 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.02692, allocations: 0.5179 MB / 0.7913 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.172e-05/0.02696, allocations: 77.34 kB / 0.7914 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005978/0.02756, allocations: 293.5 kB / 0.7917 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.02807, allocations: 87.36 kB / 0.7917 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.02807, allocations: 0 / 0.7917 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of Templates: time 0.01209/0.04016, allocations: 12.94 MB / 0.8044 GB, free: 8.141 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.191670808941126]