Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 292.6 MB / 307.5 MB, free: 5.25 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.001084/0.001084, allocations: 188.2 kB / 377.1 MB, free: 1.559 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.743/1.743, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.0008821/0.0008821, allocations: 88.08 kB / 0.751 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 12 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2621, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7582/1.02, allocations: 140.2 MB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/1.021, allocations: 74.27 kB / 1.125 GB, free: 34.72 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00559/1.026, allocations: 2.158 MB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.793e-06/1.026, allocations: 0 / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.026, allocations: 0 / 1.127 GB, free: 33.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002841/1.027, allocations: 367.5 kB / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.027, allocations: 20.09 kB / 1.128 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/1.027, allocations: 5.969 kB / 1.128 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.535e-05/1.027, allocations: 169.9 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/1.027, allocations: 0 / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/1.027, allocations: 8.469 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/1.027, allocations: 52.55 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/1.027, allocations: 0 / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/1.027, allocations: 8.594 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/1.027, allocations: 4 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.059e-05/1.027, allocations: 27.38 kB / 1.128 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/1.027, allocations: 285.6 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.403e-05/1.027, allocations: 40.52 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/1.028, allocations: 0.5544 MB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/1.028, allocations: 33.98 kB / 1.129 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/1.028, allocations: 1.031 kB / 1.129 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002156/1.028, allocations: 80.34 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/1.028, allocations: 51.41 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/1.028, allocations: 117.6 kB / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/1.028, allocations: 25.7 kB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/1.028, allocations: 88.08 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/1.028, allocations: 7.609 kB / 1.129 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/1.028, allocations: 4 kB / 1.129 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/1.028, allocations: 319 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.854e-05/1.028, allocations: 11.42 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.044e-05/1.028, allocations: 12 kB / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.703e-05/1.028, allocations: 12.12 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.028, allocations: 0 / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001017/1.028, allocations: 61.7 kB / 1.13 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/1.028, allocations: 7.422 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/1.028, allocations: 0 / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/1.029, allocations: 4 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/1.029, allocations: 8 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/1.029, allocations: 0 / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/1.029, allocations: 4.5 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/1.029, allocations: 8.406 kB / 1.13 GB, free: 30.54 MB / 0.7292 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 4.709e-05/1.029, allocations: 113.9 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/1.029, allocations: 5.078 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/1.029, allocations: 68.25 kB / 1.13 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.029, allocations: 4 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.029, allocations: 0.5 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/1.029, allocations: 3.938 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/1.029, allocations: 172 kB / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/1.029, allocations: 4.031 kB / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/1.029, allocations: 4.688 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.029, allocations: 1.031 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/1.029, allocations: 0 / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/1.029, allocations: 0 / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.029, allocations: 4.688 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/1.029, allocations: 158.4 kB / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/1.029, allocations: 81.67 kB / 1.13 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/1.029, allocations: 7.609 kB / 1.13 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/1.029, allocations: 0 / 1.13 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/1.029, allocations: 7.938 kB / 1.13 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/1.029, allocations: 0.875 kB / 1.13 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.03e-05/1.029, allocations: 91.66 kB / 1.13 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.029, allocations: 0.5625 kB / 1.13 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000212/1.03, allocations: 23.97 kB / 1.13 GB, free: 29.74 MB / 0.7292 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.0001341/1.03, allocations: 110.7 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001656/1.03, allocations: 23.52 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.03, allocations: 0 / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/1.03, allocations: 15.61 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/1.03, allocations: 10.53 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/1.03, allocations: 152.3 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/1.031, allocations: 0.6878 MB / 1.131 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.376e-05/1.031, allocations: 1.922 kB / 1.131 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/1.031, allocations: 15.44 kB / 1.131 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of SimCode: time 3.61e-07/1.031, allocations: 0 / 1.131 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of Templates: time 0.002075/1.033, allocations: 420.8 kB / 1.132 GB, free: 28.48 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)