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.001007/0.001007, allocations: 80.8 kB / 20.75 MB, free: 3.746 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.00148/0.00148, allocations: 161 kB / 24.16 MB, free: 336 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.9277/0.9277, allocations: 177.2 MB / 204.6 MB, free: 5.465 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.962/1.962, allocations: 389.6 MB / 0.6354 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.784e-06/1.784e-06, allocations: 0 / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.822e-05, allocations: 6.906 kB / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001318/0.001337, allocations: 0.6443 MB / 0.7758 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.002889, allocations: 1.348 MB / 0.7772 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.002912, allocations: 4.562 kB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.002926, allocations: 0.9844 kB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.139e-05/0.002947, allocations: 5.406 kB / 0.7772 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.003317, allocations: 81.73 kB / 0.7772 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.157e-05/0.003369, allocations: 17.28 kB / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.003412, allocations: 7.984 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.003451, allocations: 18.23 kB / 0.7773 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.003519, allocations: 9.516 kB / 0.7773 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.003532, allocations: 0 / 0.7773 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.003763, allocations: 113.2 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.003779, allocations: 9.625 kB / 0.7774 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.003794, allocations: 4.859 kB / 0.7774 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.00394, allocations: 93.88 kB / 0.7775 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003942, allocations: 0 / 0.7775 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.52e-07/0.003943, allocations: 6.891 kB / 0.7775 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.645e-06/0.003945, allocations: 0 / 0.7775 GB, free: 3.035 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.0003293/0.004275, allocations: 252.4 kB / 0.7778 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.004308, allocations: 9.344 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.004337, allocations: 7.688 kB / 0.7778 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.425e-05/0.004421, allocations: 101.8 kB / 0.7779 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.004437, allocations: 4.375 kB / 0.7779 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.004469, allocations: 17.53 kB / 0.7779 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.448e-05/0.004564, allocations: 67.94 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.004574, allocations: 192 / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.004582, allocations: 4.375 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.004593, allocations: 15.23 kB / 0.778 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.316e-05/0.004636, allocations: 15.92 kB / 0.778 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.994e-05/0.004736, allocations: 61.05 kB / 0.778 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.004822, allocations: 55.28 kB / 0.7781 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.004849, allocations: 20.84 kB / 0.7781 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.005014, allocations: 37.53 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.005037, allocations: 30.56 kB / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.005038, allocations: 0 / 0.7782 GB, free: 2.266 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.01213/0.01717, allocations: 4.711 MB / 0.7828 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.0172, allocations: 51.41 kB / 0.7828 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.127e-05/0.01725, allocations: 99.5 kB / 0.7829 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.01731, allocations: 29.7 kB / 0.783 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.01733, allocations: 80.98 kB / 0.783 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.545e-05/0.01743, allocations: 63.45 kB / 0.7831 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.01761, allocations: 46.28 kB / 0.7831 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.944e-05/0.01769, allocations: 314.8 kB / 0.7834 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.01801, allocations: 318.1 kB / 0.7837 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.01837, allocations: 313.5 kB / 0.784 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.01946, allocations: 0.7965 MB / 0.7848 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01946, allocations: 4 kB / 0.7848 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00101/0.02047, allocations: 0.7514 MB / 0.7856 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.02048, allocations: 7.938 kB / 0.7856 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.02049, allocations: 0.5 kB / 0.7856 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.0205, allocations: 5.844 kB / 0.7856 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.02092, allocations: 39.95 kB / 0.7856 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.02093, allocations: 0 / 0.7856 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.02116, allocations: 8 kB / 0.7856 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.02122, allocations: 11.97 kB / 0.7856 GB, free: 10.59 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.0001605/0.02138, allocations: 114.8 kB / 0.7857 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.02148, allocations: 19.92 kB / 0.7858 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.02335, allocations: 0.9676 MB / 0.7867 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.02336, allocations: 4 kB / 0.7867 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.02336, allocations: 0 / 0.7867 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.02337, allocations: 7.969 kB / 0.7867 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.02492, allocations: 0.9724 MB / 0.7877 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02492, allocations: 0 / 0.7877 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.02536, allocations: 71.91 kB / 0.7877 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.02536, allocations: 3.984 kB / 0.7877 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.02541, allocations: 15.94 kB / 0.7878 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.02541, allocations: 4.031 kB / 0.7878 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02541, allocations: 3.938 kB / 0.7878 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.02663, allocations: 0.869 MB / 0.7886 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.02664, allocations: 15.84 kB / 0.7886 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.02672, allocations: 12 kB / 0.7886 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.02696, allocations: 8 kB / 0.7886 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.02706, allocations: 27.94 kB / 0.7887 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.02711, allocations: 4 kB / 0.7887 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.155e-05/0.02712, allocations: 8.859 kB / 0.7887 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02712, allocations: 128 / 0.7887 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004956/0.02762, allocations: 191.7 kB / 0.7889 GB, free: 7.258 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.000401/0.02802, allocations: 235.8 kB / 0.7891 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007232/0.02874, allocations: 0.5671 MB / 0.7896 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.02875, allocations: 0 / 0.7896 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.02908, allocations: 260.6 kB / 0.7899 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.02932, allocations: 23.94 kB / 0.7899 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.03107, allocations: 0.5101 MB / 0.7904 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.396e-05/0.03113, allocations: 81.39 kB / 0.7905 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008467/0.03198, allocations: 289.5 kB / 0.7908 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006431/0.03262, allocations: 87.36 kB / 0.7908 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.03262, allocations: 8 kB / 0.7909 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of Templates: time 0.01604/0.04866, allocations: 12.94 MB / 0.8035 GB, free: 8.242 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.138979938346893]