Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.Splice.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.921/4.921, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002529/0.002529, allocations: 358.2 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.514/4.514, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001802/0.001801, allocations: 176 kB / 1.226 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008266/0.0008271, allocations: 12 kB / 1.349 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7887/0.7896, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2153/1.005, allocations: 139.2 MB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.005, allocations: 82.48 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.007927/1.013, allocations: 1.822 MB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.204e-06/1.013, allocations: 4.75 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.243e-06/1.013, allocations: 0 / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004351/1.014, allocations: 373.3 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/1.014, allocations: 11.62 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/1.014, allocations: 7.906 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.598e-05/1.014, allocations: 163 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/1.014, allocations: 10.72 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/1.014, allocations: 0 / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/1.014, allocations: 62.2 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/1.014, allocations: 0.5312 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1.014, allocations: 0.75 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.014, allocations: 0 / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/1.014, allocations: 32.95 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/1.015, allocations: 287.5 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/1.015, allocations: 40.19 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/1.015, allocations: 19.72 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004184/1.015, allocations: 0.5521 MB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/1.015, allocations: 38.55 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.525e-06/1.015, allocations: 0.625 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0003411/1.016, allocations: 80.39 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/1.016, allocations: 51.41 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/1.016, allocations: 121.8 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/1.016, allocations: 26.95 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/1.016, allocations: 88.14 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/1.016, allocations: 7.906 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/1.016, allocations: 0.5312 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.87e-05/1.016, allocations: 316.1 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/1.016, allocations: 12 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/1.016, allocations: 12.83 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.391e-05/1.016, allocations: 13 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.016, allocations: 2.344 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001813/1.017, allocations: 57.67 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.017, allocations: 8 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/1.017, allocations: 0.9688 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.017, allocations: 7.125 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/1.017, allocations: 5.562 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.017, allocations: 3.953 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/1.017, allocations: 7.984 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/1.017, allocations: 0 / 1.601 GB, free: 140.4 MB / 0.8542 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 (2): * Single equations (assignments): 2 * 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 6.776e-05/1.017, allocations: 120.2 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/1.017, allocations: 3.906 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/1.017, allocations: 70.02 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.017, allocations: 3.938 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.017, allocations: 3.25 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.017, allocations: 3.953 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/1.018, allocations: 165.6 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.018, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/1.018, allocations: 11.92 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.018, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/1.018, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.018, allocations: 4 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.018, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/1.018, allocations: 158.6 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/1.018, allocations: 85.09 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/1.018, allocations: 4 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/1.019, allocations: 0.9688 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/1.019, allocations: 4 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/1.019, allocations: 1 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.333e-05/1.019, allocations: 99.27 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.62e-07/1.019, allocations: 0.9688 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006716/1.019, allocations: 15.94 kB / 1.602 GB, free: 139.6 MB / 0.8542 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000247/1.02, allocations: 109.5 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000313/1.02, allocations: 27.92 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.02, allocations: 4.969 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/1.02, allocations: 13.25 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/1.021, allocations: 6.828 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/1.021, allocations: 142.2 kB / 1.602 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/1.022, allocations: 0.6941 MB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.585e-05/1.022, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/1.022, allocations: 12.19 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.753e-06/1.022, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.00518/1.027, allocations: 435.2 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB