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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 293 MB / 309 MB, free: 4.82 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.001046/0.001046, allocations: 174.8 kB / 378.7 MB, free: 1.023 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.393/1.393, allocations: 205.4 MB / 0.6383 GB, free: 8.145 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.0007283/0.0007282, allocations: 88.08 kB / 0.7527 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 20 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2351, allocations: 116.4 MB / 0.9904 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.526/0.7612, allocations: 140.3 MB / 1.127 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.7615, allocations: 77.97 kB / 1.128 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005527/0.767, allocations: 2.159 MB / 1.13 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.024e-06/0.767, allocations: 4 kB / 1.13 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.767, allocations: 0 / 1.13 GB, free: 32.04 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.0002676/0.7673, allocations: 369.1 kB / 1.13 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.7674, allocations: 11 kB / 1.13 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.7674, allocations: 9.719 kB / 1.13 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.563e-05/0.7675, allocations: 171.8 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.7675, allocations: 9.953 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.7675, allocations: 0.9375 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.7677, allocations: 57.2 kB / 1.13 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.7677, allocations: 4.188 kB / 1.13 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.7677, allocations: 3.938 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.7677, allocations: 0 / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.7678, allocations: 31.61 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.7681, allocations: 283.3 kB / 1.131 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.123e-05/0.7682, allocations: 38.09 kB / 1.131 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.7682, allocations: 13.61 kB / 1.131 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.7685, allocations: 0.5567 MB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.7685, allocations: 34.56 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.7685, allocations: 0 / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002291/0.7688, allocations: 75.92 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.7688, allocations: 55.41 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.7689, allocations: 120.4 kB / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.7689, allocations: 26.27 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.7689, allocations: 92.2 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.7689, allocations: 3.906 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.7689, allocations: 4 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.769, allocations: 322.2 kB / 1.132 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.82e-05/0.769, allocations: 11.28 kB / 1.132 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.7691, allocations: 12.56 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.673e-05/0.7691, allocations: 32.02 kB / 1.132 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7692, allocations: 0 / 1.132 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.779e-05/0.7693, allocations: 60.2 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.7693, allocations: 4 kB / 1.132 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.7693, allocations: 0.9844 kB / 1.132 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.7693, allocations: 4.938 kB / 1.132 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.7694, allocations: 11.36 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7694, allocations: 0.5625 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.7694, allocations: 7.906 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.7694, allocations: 0 / 1.132 GB, free: 29.38 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.665e-05/0.7695, allocations: 125.7 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.7695, allocations: 3.141 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.7697, allocations: 71.41 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.7697, allocations: 0 / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7697, allocations: 4.562 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.7697, allocations: 0.9375 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.7698, allocations: 171.2 kB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.7698, allocations: 1.234 kB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.7699, allocations: 4 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.7699, allocations: 0 / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.7699, allocations: 7.281 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7699, allocations: 4.531 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7699, allocations: 4 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.77, allocations: 154.2 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.7701, allocations: 81.05 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.7701, allocations: 4.938 kB / 1.133 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/0.7701, allocations: 5.234 kB / 1.133 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.7702, allocations: 11.33 kB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.7702, allocations: 0 / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.7702, allocations: 90.61 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7702, allocations: 0 / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002091/0.7704, allocations: 23.84 kB / 1.133 GB, free: 28.57 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.0001133/0.7706, allocations: 99.25 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.7707, allocations: 35.16 kB / 1.133 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.7707, allocations: 0 / 1.133 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.924e-05/0.7707, allocations: 17.03 kB / 1.133 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.771, allocations: 4.844 kB / 1.133 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.7712, allocations: 156.4 kB / 1.133 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.7713, allocations: 0.6841 MB / 1.134 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.7714, allocations: 5.781 kB / 1.134 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.7714, allocations: 7.438 kB / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.7714, allocations: 0 / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.002111/0.7735, allocations: 427.2 kB / 1.134 GB, free: 27.3 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)