Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.323/2.323, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 184.5 kB / 325.6 MB, free: 2.859 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.502/2.502, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001118/0.001118, allocations: 92.59 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004858, allocations: 14.44 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.203, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2587/0.4617, allocations: 132.9 MB / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.4621, allocations: 83.94 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008667/0.4707, allocations: 1.82 MB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4708, allocations: 0 / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.4708, allocations: 8 kB / 1.03 GB, free: 10.55 MB / 0.6823 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.0005334/0.4714, allocations: 371 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4714, allocations: 16.02 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.4715, allocations: 0 / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.4716, allocations: 170.9 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.4717, allocations: 3.984 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.4717, allocations: 7.984 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.4719, allocations: 57.67 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.472, allocations: 7.938 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.472, allocations: 0 / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.472, allocations: 0 / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.4722, allocations: 31.98 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.4727, allocations: 280.7 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.4728, allocations: 38.5 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.4734, allocations: 0.5545 MB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4735, allocations: 30.56 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.335e-06/0.4735, allocations: 4 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000384/0.4739, allocations: 73.62 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.4739, allocations: 55.34 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4741, allocations: 113 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.4741, allocations: 29.64 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.4742, allocations: 88.08 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.4742, allocations: 12.03 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.4742, allocations: 0 / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4744, allocations: 318.8 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/0.4745, allocations: 8 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.4745, allocations: 15.98 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.874e-05/0.4746, allocations: 8 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4747, allocations: 4.062 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003319/0.475, allocations: 65.58 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.4751, allocations: 4 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.4751, allocations: 4 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4751, allocations: 0 / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4753, allocations: 4 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.4754, allocations: 3.953 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.947e-05/0.4755, allocations: 12.02 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4755, allocations: 0 / 1.033 GB, free: 7.855 MB / 0.6823 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 0.0001717/0.4757, allocations: 114.6 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.4758, allocations: 0 / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.4762, allocations: 69.11 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.4763, allocations: 8 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4763, allocations: 4.031 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.4763, allocations: 3.953 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.4767, allocations: 165.7 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4768, allocations: 0 / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.4769, allocations: 7.984 kB / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.4769, allocations: 0 / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4769, allocations: 0 / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.477, allocations: 4 kB / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.477, allocations: 0 / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.4774, allocations: 159.4 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.881e-05/0.4775, allocations: 92.94 kB / 1.033 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.4776, allocations: 0 / 1.033 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.4778, allocations: 0 / 1.033 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.4778, allocations: 4 kB / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.4779, allocations: 0 / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001191/0.478, allocations: 99.3 kB / 1.033 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.91e-07/0.478, allocations: 0 / 1.033 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006803/0.4787, allocations: 11.94 kB / 1.034 GB, free: 7.031 MB / 0.6823 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.0003152/0.4791, allocations: 119.2 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.4795, allocations: 27.92 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.4795, allocations: 64 / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.4797, allocations: 23.92 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.4801, allocations: 4 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.4807, allocations: 140.6 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.4812, allocations: 0.6888 MB / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.17e-05/0.4813, allocations: 7.984 kB / 1.034 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.4814, allocations: 7.438 kB / 1.034 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of SimCode: time 1.643e-06/0.4814, allocations: 4 kB / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of Templates: time 0.005131/0.4866, allocations: 428.8 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB