Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 285.4 MB / 298 MB, free: 6.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001651/0.001652, allocations: 172.9 kB / 366.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 97.73 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.213e-05, allocations: 8 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7917/0.7918, allocations: 115.3 MB / 0.9709 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.9907, allocations: 139.2 MB / 1.107 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.991, allocations: 75.94 kB / 1.107 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006321/0.9973, allocations: 2.136 MB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.031e-06/0.9973, allocations: 4 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.9973, allocations: 0 / 1.109 GB, free: 10.45 MB / 0.7136 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.0003426/0.9977, allocations: 356 kB / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.9978, allocations: 14.75 kB / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.9978, allocations: 0 / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.9979, allocations: 185 kB / 1.109 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.998, allocations: 4 kB / 1.109 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.998, allocations: 4 kB / 1.109 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.9981, allocations: 49.69 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.9981, allocations: 0 / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.9981, allocations: 0.7188 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.9981, allocations: 0 / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.9982, allocations: 16.81 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.9986, allocations: 282.1 kB / 1.11 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.05e-05/0.9987, allocations: 27.52 kB / 1.11 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.9987, allocations: 9.391 kB / 1.11 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00049/0.9992, allocations: 0.5609 MB / 1.11 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.9992, allocations: 36 kB / 1.11 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.9992, allocations: 2.812 kB / 1.11 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000162/0.9994, allocations: 51.89 kB / 1.11 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.9995, allocations: 55.36 kB / 1.111 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.9996, allocations: 114.6 kB / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.9996, allocations: 25.7 kB / 1.111 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.9996, allocations: 92.14 kB / 1.111 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.9997, allocations: 4.781 kB / 1.111 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.9997, allocations: 0 / 1.111 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.9998, allocations: 320.7 kB / 1.111 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.9998, allocations: 4 kB / 1.111 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/0.9999, allocations: 4 kB / 1.111 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.9999, allocations: 11.78 kB / 1.111 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.9999, allocations: 0 / 1.111 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.705e-05/1, allocations: 53.53 kB / 1.111 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1, allocations: 8 kB / 1.111 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1, allocations: 0 / 1.111 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/1, allocations: 0 / 1.111 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/1, allocations: 4 kB / 1.111 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1, allocations: 1.016 kB / 1.111 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/1, allocations: 15.88 kB / 1.111 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/1, allocations: 1.75 kB / 1.111 GB, free: 7.855 MB / 0.7136 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 (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.726e-05/1, allocations: 105 kB / 1.111 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/1, allocations: 0 / 1.111 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/1, allocations: 58 kB / 1.111 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/1, allocations: 160 / 1.111 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1, allocations: 4 kB / 1.111 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1, allocations: 0 / 1.111 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/1.001, allocations: 175.5 kB / 1.112 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.001, allocations: 0 / 1.112 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/1.001, allocations: 11.98 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/1.001, allocations: 2.906 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/1.001, allocations: 0 / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.001, allocations: 0 / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.001, allocations: 0 / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/1.001, allocations: 147.5 kB / 1.112 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/1.001, allocations: 85.02 kB / 1.112 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/1.001, allocations: 0 / 1.112 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/1.001, allocations: 7.984 kB / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/1.001, allocations: 7.875 kB / 1.112 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/1.001, allocations: 0 / 1.112 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.696e-05/1.001, allocations: 93.8 kB / 1.112 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/1.001, allocations: 0 / 1.112 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002314/1.001, allocations: 20.03 kB / 1.112 GB, free: 7.055 MB / 0.7136 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 (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.0001691/1.002, allocations: 111.2 kB / 1.112 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.429e-05/1.002, allocations: 12 kB / 1.112 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.002, allocations: 4 kB / 1.112 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.217e-05/1.002, allocations: 8 kB / 1.112 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/1.002, allocations: 3.953 kB / 1.112 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/1.002, allocations: 83.39 kB / 1.112 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/1.002, allocations: 0.6887 MB / 1.113 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.768e-05/1.002, allocations: 2.266 kB / 1.113 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/1.002, allocations: 11.44 kB / 1.113 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/1.002, allocations: 0 / 1.113 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of Templates: time 0.002478/1.005, allocations: 439.1 kB / 1.113 GB, free: 5.684 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)