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.001111/0.001111, allocations: 114.1 kB / 16.37 MB, free: 5.996 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.00104/0.00104, allocations: 188.7 kB / 17.31 MB, free: 5.605 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.521/1.521, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.97/1.97, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001448/0.001448, allocations: 75.89 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2665, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002841/0.2694, allocations: 1.503 MB / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2706, allocations: 0.6756 MB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.2706, allocations: 4 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.2707, allocations: 3.938 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.2708, allocations: 7.938 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.2711, allocations: 75.73 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.2712, allocations: 31.92 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2713, allocations: 15.97 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.367e-05/0.2714, allocations: 19.92 kB / 0.7871 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.2715, allocations: 15.94 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.2715, allocations: 4 kB / 0.7871 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.2717, allocations: 95.89 kB / 0.7872 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.2717, allocations: 11.92 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.2718, allocations: 15.94 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.2719, allocations: 91.66 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2719, allocations: 0 / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2719, allocations: 0 / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.272, allocations: 0 / 0.7873 GB, free: 0.5898 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.0004458/0.2724, allocations: 355.4 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2725, allocations: 16.03 kB / 0.7876 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.2725, allocations: 8.828 kB / 0.7877 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3724/0.6449, allocations: 171.2 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.645, allocations: 384 / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.645, allocations: 2.562 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.6453, allocations: 55.52 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.6453, allocations: 0 / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.6453, allocations: 2.672 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.6453, allocations: 4.719 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.541e-05/0.6454, allocations: 31.19 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.6458, allocations: 273 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.199e-05/0.6459, allocations: 45.23 kB / 0.7882 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.646, allocations: 16.55 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003896/0.6464, allocations: 0.554 MB / 0.7888 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.6464, allocations: 31.19 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.144e-06/0.6464, allocations: 1 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002508/0.6467, allocations: 73.05 kB / 0.7889 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.6467, allocations: 51.41 kB / 0.7889 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.6468, allocations: 120.8 kB / 0.789 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.6468, allocations: 26.8 kB / 0.7891 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.6468, allocations: 91.88 kB / 0.7891 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.6469, allocations: 7.594 kB / 0.7892 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.6469, allocations: 19.39 kB / 0.7892 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.647, allocations: 316.9 kB / 0.7895 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.001e-05/0.647, allocations: 11.23 kB / 0.7895 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.217e-05/0.6471, allocations: 8.938 kB / 0.7895 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.946e-05/0.6471, allocations: 29.8 kB / 0.7895 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6471, allocations: 0 / 0.7895 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001058/0.6472, allocations: 58.53 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6473, allocations: 9.422 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6473, allocations: 0 / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.6473, allocations: 3.656 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.6474, allocations: 5.844 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.6474, allocations: 3.281 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.6474, allocations: 10.33 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.6474, allocations: 0 / 0.7896 GB, free: 47.09 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.218e-05/0.6475, allocations: 119.7 kB / 0.7897 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.6475, allocations: 2.344 kB / 0.7897 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.6477, allocations: 62.14 kB / 0.7898 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.6477, allocations: 0 / 0.7898 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6477, allocations: 1.047 kB / 0.7898 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6477, allocations: 2.688 kB / 0.7898 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.6479, allocations: 169.2 kB / 0.79 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6479, allocations: 0 / 0.79 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.6479, allocations: 5.25 kB / 0.79 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6479, allocations: 0.7656 kB / 0.79 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.6479, allocations: 3.594 kB / 0.79 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.648, allocations: 0 / 0.79 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.648, allocations: 5.938 kB / 0.79 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.6481, allocations: 158.9 kB / 0.7901 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.6481, allocations: 77.61 kB / 0.7902 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.6482, allocations: 3.281 kB / 0.7902 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.696e-05/0.6482, allocations: 4.969 kB / 0.7902 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.6483, allocations: 5.703 kB / 0.7902 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.6483, allocations: 3.938 kB / 0.7902 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.6483, allocations: 96.69 kB / 0.7903 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6483, allocations: 0 / 0.7903 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002306/0.6486, allocations: 9.156 kB / 0.7903 GB, free: 46.44 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.0001508/0.6487, allocations: 112 kB / 0.7904 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.6489, allocations: 28.45 kB / 0.7904 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6489, allocations: 0 / 0.7904 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.6489, allocations: 13.38 kB / 0.7905 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.6492, allocations: 7.5 kB / 0.7905 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.6495, allocations: 166.2 kB / 0.7906 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.6496, allocations: 0.6818 MB / 0.7913 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.6496, allocations: 10.12 kB / 0.7913 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6496, allocations: 0 / 0.7913 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.002216/0.6519, allocations: 0.7033 MB / 0.792 GB, free: 45.51 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)