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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 103.6 kB / 16.29 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 188.6 kB / 17.22 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 292.3 MB / 0.5495 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 71.89 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1929, allocations: 114.6 MB / 0.7841 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002442/0.1954, allocations: 1.481 MB / 0.7855 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.1964, allocations: 0.6873 MB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.1964, allocations: 0 / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.1964, allocations: 3.938 kB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.217e-05/0.1965, allocations: 3.938 kB / 0.7862 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1968, allocations: 79.72 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.098e-05/0.1969, allocations: 39.8 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.197, allocations: 23.98 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.197, allocations: 11.94 kB / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.1971, allocations: 19.92 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.1971, allocations: 0 / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.1973, allocations: 95.89 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.1973, allocations: 11.94 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.1973, allocations: 15.92 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1975, allocations: 91.98 kB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1975, allocations: 0 / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1975, allocations: 0 / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1975, allocations: 0 / 0.7866 GB, free: 1.301 MB / 0.6544 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.0003805/0.1979, allocations: 359.4 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.1979, allocations: 8.031 kB / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.198, allocations: 8.844 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1981, allocations: 172.2 kB / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1981, allocations: 8.359 kB / 0.7871 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.1981, allocations: 4.375 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1982, allocations: 58 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1983, allocations: 0 / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1983, allocations: 0 / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1983, allocations: 0 / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.899e-05/0.1984, allocations: 23.98 kB / 0.7872 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.1987, allocations: 280.7 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.1988, allocations: 34.58 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.1988, allocations: 20.91 kB / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3071/0.5059, allocations: 0.5521 MB / 0.788 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.506, allocations: 31.78 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.365e-06/0.506, allocations: 0.7188 kB / 0.7881 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002931/0.5063, allocations: 68.75 kB / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.5063, allocations: 51.41 kB / 0.7882 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.5064, allocations: 124.8 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.5064, allocations: 27.95 kB / 0.7883 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.5065, allocations: 94.58 kB / 0.7884 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.5065, allocations: 5.531 kB / 0.7884 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.5065, allocations: 13.17 kB / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.5066, allocations: 325.8 kB / 0.7888 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-05/0.5066, allocations: 10.67 kB / 0.7888 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.5067, allocations: 8.328 kB / 0.7888 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.557e-05/0.5067, allocations: 25.77 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5068, allocations: 2.5 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.832e-05/0.5069, allocations: 63.19 kB / 0.7889 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5069, allocations: 3.375 kB / 0.7889 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.5069, allocations: 3.125 kB / 0.7889 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5069, allocations: 1.219 kB / 0.7889 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.507, allocations: 8.75 kB / 0.7889 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.507, allocations: 1.25 kB / 0.7889 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.507, allocations: 9.031 kB / 0.7889 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.507, allocations: 2.188 kB / 0.7889 GB, free: 47.56 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.5071, allocations: 117.6 kB / 0.789 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.5071, allocations: 2.844 kB / 0.789 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.5073, allocations: 62.59 kB / 0.7891 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5073, allocations: 0.5938 kB / 0.7891 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.5073, allocations: 0 / 0.7891 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.5073, allocations: 2.469 kB / 0.7891 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.5074, allocations: 173.8 kB / 0.7892 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5074, allocations: 1.5 kB / 0.7892 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.5075, allocations: 8.391 kB / 0.7892 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5075, allocations: 0 / 0.7892 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.5075, allocations: 1.5 kB / 0.7892 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5075, allocations: 0.5312 kB / 0.7892 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5075, allocations: 0 / 0.7892 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.5076, allocations: 158.1 kB / 0.7894 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.5077, allocations: 78.28 kB / 0.7895 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.5077, allocations: 7.391 kB / 0.7895 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.5077, allocations: 5.719 kB / 0.7895 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.5078, allocations: 5.781 kB / 0.7895 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.5078, allocations: 1.75 kB / 0.7895 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.008e-05/0.5078, allocations: 94.64 kB / 0.7896 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5078, allocations: 0.75 kB / 0.7896 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002124/0.508, allocations: 12.55 kB / 0.7896 GB, free: 46.92 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001124/0.5081, allocations: 101.9 kB / 0.7897 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.5083, allocations: 26.34 kB / 0.7897 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5083, allocations: 2.844 kB / 0.7897 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.5083, allocations: 9.5 kB / 0.7897 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.5085, allocations: 9.188 kB / 0.7897 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.5088, allocations: 142.2 kB / 0.7899 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.5089, allocations: 0.6791 MB / 0.7905 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.509, allocations: 11.31 kB / 0.7905 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.509, allocations: 9.969 kB / 0.7906 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.509, allocations: 0.625 kB / 0.7906 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.002456/0.5114, allocations: 485.9 kB / 0.791 GB, free: 46.02 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)