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.0009067/0.0009067, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.0008662/0.0008662, allocations: 168.5 kB / 25.05 MB, free: 9.234 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.9459/0.9459, allocations: 177.1 MB / 205.5 MB, free: 5.469 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.867/1.867, allocations: 389.6 MB / 0.6363 GB, free: 12.28 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.222e-06/1.222e-06, allocations: 0 / 0.7762 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.586e-05, allocations: 2.312 kB / 0.7762 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001833/0.001858, allocations: 0.6899 MB / 0.7769 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.003315, allocations: 1.345 MB / 0.7782 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.003341, allocations: 0 / 0.7782 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.003358, allocations: 1.422 kB / 0.7782 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.149e-05/0.00338, allocations: 3.938 kB / 0.7782 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.003704, allocations: 75.2 kB / 0.7783 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.003757, allocations: 21.62 kB / 0.7783 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.003793, allocations: 3.984 kB / 0.7783 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.003828, allocations: 18.36 kB / 0.7783 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.003884, allocations: 8.859 kB / 0.7783 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.003895, allocations: 4.766 kB / 0.7783 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.004152, allocations: 119.8 kB / 0.7784 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.004166, allocations: 13.5 kB / 0.7784 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.428e-05/0.00418, allocations: 5.312 kB / 0.7784 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.004313, allocations: 90.7 kB / 0.7785 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004315, allocations: 0 / 0.7785 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004316, allocations: 0 / 0.7785 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.00432, allocations: 2.906 kB / 0.7785 GB, free: 2.867 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.0002985/0.004619, allocations: 256.9 kB / 0.7788 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.004649, allocations: 9.344 kB / 0.7788 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.004675, allocations: 8.875 kB / 0.7788 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.961e-05/0.004754, allocations: 105.8 kB / 0.7789 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.004767, allocations: 8.359 kB / 0.7789 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.004789, allocations: 12.48 kB / 0.7789 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.077e-05/0.00487, allocations: 67.95 kB / 0.779 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.004879, allocations: 192 / 0.779 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.004887, allocations: 4.359 kB / 0.779 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.004894, allocations: 7.938 kB / 0.779 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.273e-05/0.004937, allocations: 11.94 kB / 0.779 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.766e-05/0.005024, allocations: 73.03 kB / 0.7791 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.446e-05/0.005099, allocations: 46.56 kB / 0.7791 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.005116, allocations: 17.08 kB / 0.7791 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.005272, allocations: 49.14 kB / 0.7792 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.005292, allocations: 31.38 kB / 0.7792 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.005293, allocations: 0 / 0.7792 GB, free: 2.086 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.009398/0.01469, allocations: 4.71 MB / 0.7838 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.01473, allocations: 56.66 kB / 0.7839 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.514e-05/0.01478, allocations: 98.66 kB / 0.784 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.01484, allocations: 31.89 kB / 0.784 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.01486, allocations: 80.14 kB / 0.7841 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/0.01494, allocations: 63.47 kB / 0.7841 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.01507, allocations: 41.64 kB / 0.7842 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.01515, allocations: 322.8 kB / 0.7845 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.01539, allocations: 315.9 kB / 0.7848 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.01564, allocations: 312.5 kB / 0.7851 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007965/0.01643, allocations: 0.7939 MB / 0.7858 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01644, allocations: 0 / 0.7858 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007217/0.01716, allocations: 0.7514 MB / 0.7866 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.01717, allocations: 7.938 kB / 0.7866 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.01718, allocations: 4 kB / 0.7866 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.01719, allocations: 0.9375 kB / 0.7866 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.01756, allocations: 55.92 kB / 0.7866 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.01756, allocations: 1.594 kB / 0.7866 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.01772, allocations: 4 kB / 0.7867 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.01776, allocations: 7.984 kB / 0.7867 GB, free: 10.4 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.000129/0.01789, allocations: 125.8 kB / 0.7868 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.01796, allocations: 14.06 kB / 0.7868 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.01924, allocations: 0.9793 MB / 0.7878 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.01925, allocations: 4 kB / 0.7878 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01925, allocations: 0 / 0.7878 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01926, allocations: 4 kB / 0.7878 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.02043, allocations: 0.9762 MB / 0.7887 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02044, allocations: 0 / 0.7887 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.02079, allocations: 71.91 kB / 0.7888 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.02079, allocations: 0 / 0.7888 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.02082, allocations: 11.98 kB / 0.7888 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.02083, allocations: 0 / 0.7888 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.02083, allocations: 0 / 0.7888 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009128/0.02174, allocations: 0.8768 MB / 0.7896 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.02176, allocations: 15.91 kB / 0.7897 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.02181, allocations: 12 kB / 0.7897 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.02199, allocations: 12 kB / 0.7897 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.02207, allocations: 23.89 kB / 0.7897 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.02211, allocations: 11.98 kB / 0.7897 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.306e-05/0.02212, allocations: 12.8 kB / 0.7897 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02212, allocations: 0 / 0.7897 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004393/0.02256, allocations: 179.7 kB / 0.7899 GB, free: 7.059 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.0004368/0.023, allocations: 235.9 kB / 0.7901 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005966/0.02359, allocations: 0.5734 MB / 0.7907 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.0236, allocations: 0 / 0.7907 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.02386, allocations: 260.6 kB / 0.7909 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.02404, allocations: 24.95 kB / 0.791 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.02548, allocations: 0.5101 MB / 0.7915 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.02553, allocations: 77.34 kB / 0.7915 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006103/0.02614, allocations: 297.5 kB / 0.7918 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.02662, allocations: 87.36 kB / 0.7919 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of SimCode: time 1.122e-06/0.02662, allocations: 4 kB / 0.7919 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of Templates: time 0.01429/0.04092, allocations: 12.94 MB / 0.8045 GB, free: 8.043 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.1047699600458145]