Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.337/2.337, allocations: 253.2 MB / 260.6 MB, free: 7.535 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001901/0.001901, allocations: 186.8 kB / 319.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 90.58 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.605e-05/3.616e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2088, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.864/1.073, allocations: 131.9 MB / 1.017 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/1.073, allocations: 76.95 kB / 1.018 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006866/1.08, allocations: 1.207 MB / 1.019 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.794e-06/1.08, allocations: 0 / 1.019 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.5e-06/1.08, allocations: 0 / 1.019 GB, free: 4.375 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003552/1.081, allocations: 330.4 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.081, allocations: 8.031 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/1.081, allocations: 3.906 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/1.081, allocations: 171 kB / 1.019 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/1.081, allocations: 0 / 1.019 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/1.081, allocations: 4 kB / 1.019 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.959e-05/1.081, allocations: 4.625 kB / 1.019 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.563e-05/1.081, allocations: 29.64 kB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/1.081, allocations: 0 / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/1.081, allocations: 0.75 kB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/1.081, allocations: 4 kB / 1.019 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/1.081, allocations: 126.2 kB / 1.019 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/1.081, allocations: 18.56 kB / 1.019 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/1.081, allocations: 15.7 kB / 1.019 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007783/1.082, allocations: 0.5583 MB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/1.082, allocations: 36.83 kB / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.004e-06/1.082, allocations: 0 / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000193/1.083, allocations: 37.58 kB / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/1.083, allocations: 55.39 kB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.312e-05/1.083, allocations: 89.03 kB / 1.02 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/1.083, allocations: 25.7 kB / 1.02 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/1.083, allocations: 80.14 kB / 1.02 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/1.083, allocations: 4 kB / 1.02 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/1.083, allocations: 0 / 1.02 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.083, allocations: 310.8 kB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/1.083, allocations: 0 / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-06/1.083, allocations: 0 / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.561e-05/1.083, allocations: 4 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.083, allocations: 4.062 kB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001313/1.083, allocations: 40.77 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.083, allocations: 8 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.083, allocations: 0 / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/1.083, allocations: 0 / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.022e-05/1.083, allocations: 0 / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.083, allocations: 4 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/1.083, allocations: 0 / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/1.083, allocations: 0 / 1.021 GB, free: 2.125 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.563e-05/1.084, allocations: 109 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/1.084, allocations: 7.891 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/1.084, allocations: 45.39 kB / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.084, allocations: 0 / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.084, allocations: 0 / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.084, allocations: 0 / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/1.084, allocations: 125.6 kB / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.084, allocations: 0 / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/1.084, allocations: 12.02 kB / 1.021 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.084, allocations: 0 / 1.021 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/1.084, allocations: 3.953 kB / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.084, allocations: 0 / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.084, allocations: 0 / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/1.084, allocations: 57.08 kB / 1.021 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/1.084, allocations: 81.09 kB / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/1.084, allocations: 0 / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/1.084, allocations: 10.52 kB / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/1.084, allocations: 4 kB / 1.021 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/1.084, allocations: 0 / 1.021 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.276e-05/1.085, allocations: 79.09 kB / 1.021 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/1.085, allocations: 0 / 1.021 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004475/1.085, allocations: 11.94 kB / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002315/1.085, allocations: 107.2 kB / 1.021 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.326e-05/1.085, allocations: 11.98 kB / 1.021 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.085, allocations: 0 / 1.021 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/1.085, allocations: 0 / 1.021 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/1.086, allocations: 7.938 kB / 1.021 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/1.086, allocations: 40.06 kB / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/1.086, allocations: 0.6768 MB / 1.022 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.951e-05/1.086, allocations: 4.953 kB / 1.022 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/1.086, allocations: 15.56 kB / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/1.086, allocations: 0 / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of Templates: time 0.003154/1.09, allocations: 272.1 kB / 1.022 GB, free: 344 kB / 0.6355 GB