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.00142/0.00142, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001374/0.001374, allocations: 197.4 kB / 16.26 MB, free: 6.621 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.28/1.28, allocations: 205.1 MB / 222.1 MB, free: 4.914 MB / 174.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.598/1.598, allocations: 292.2 MB / 0.5485 GB, free: 13.68 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.001299/0.001299, allocations: 68.38 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2044, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002532/0.207, allocations: 1.56 MB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009141/0.2079, allocations: 0.6729 MB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.208, allocations: 4 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.208, allocations: 11.92 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.793e-05/0.2081, allocations: 3.938 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.2084, allocations: 63.86 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.979e-05/0.2085, allocations: 39.86 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.634e-05/0.2086, allocations: 8 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.2087, allocations: 23.92 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.2087, allocations: 19.91 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.2087, allocations: 4 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.2089, allocations: 91.92 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.2089, allocations: 11.92 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.2089, allocations: 19.86 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.2091, allocations: 84.06 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2091, allocations: 3.938 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2091, allocations: 0 / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2091, allocations: 0 / 0.7854 GB, free: 11.3 MB / 0.6075 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.0004246/0.2096, allocations: 363.3 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2096, allocations: 16.02 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.2096, allocations: 4.938 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2098, allocations: 168.3 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.2098, allocations: 384 / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.2098, allocations: 4.375 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.2099, allocations: 57.98 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.21, allocations: 0 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.21, allocations: 0 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.21, allocations: 8 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.203e-05/0.2101, allocations: 27.92 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.2104, allocations: 280.7 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.783e-05/0.2105, allocations: 30.5 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.2105, allocations: 20.86 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/0.2109, allocations: 0.5544 MB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.211, allocations: 42.55 kB / 0.7869 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.211, allocations: 0 / 0.7869 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002163/0.2112, allocations: 53.69 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.2112, allocations: 51.53 kB / 0.787 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.2113, allocations: 133.8 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.2114, allocations: 25.7 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.2114, allocations: 95.98 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.2114, allocations: 0 / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.2114, allocations: 17.7 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.2115, allocations: 318.8 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.2116, allocations: 15.92 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.2116, allocations: 12 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.77e-05/0.2117, allocations: 24.84 kB / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2117, allocations: 7.938 kB / 0.7876 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001039/0.2118, allocations: 53.59 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2118, allocations: 4 kB / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2118, allocations: 3.984 kB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.2119, allocations: 0 / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.2119, allocations: 12.09 kB / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.2119, allocations: 0 / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.212, allocations: 0 / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.212, allocations: 0 / 0.7877 GB, free: 8.578 MB / 0.6075 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 6.281e-05/0.2121, allocations: 125.7 kB / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.2121, allocations: 7.906 kB / 0.7878 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.2122, allocations: 61.2 kB / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2122, allocations: 0 / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.2122, allocations: 4.031 kB / 0.7879 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2123, allocations: 4 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.2124, allocations: 165.6 kB / 0.7881 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2124, allocations: 0 / 0.7881 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.2124, allocations: 4 kB / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2124, allocations: 0 / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.2125, allocations: 4 kB / 0.7881 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2125, allocations: 0 / 0.7881 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2125, allocations: 3.984 kB / 0.7881 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.2126, allocations: 159.3 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.2127, allocations: 81.11 kB / 0.7883 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.2127, allocations: 0 / 0.7883 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/0.2127, allocations: 3.984 kB / 0.7883 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.2128, allocations: 15.92 kB / 0.7883 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/0.2128, allocations: 0 / 0.7883 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.2128, allocations: 95.27 kB / 0.7884 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2128, allocations: 4.031 kB / 0.7884 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002143/0.2131, allocations: 15.94 kB / 0.7884 GB, free: 7.734 MB / 0.6075 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.0001226/0.2132, allocations: 99.25 kB / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.2133, allocations: 35.84 kB / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2133, allocations: 0 / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.2134, allocations: 12 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.2136, allocations: 2.656 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.2139, allocations: 150.7 kB / 0.7887 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.214, allocations: 0.6845 MB / 0.7894 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.2141, allocations: 8 kB / 0.7894 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.2141, allocations: 7.438 kB / 0.7894 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2141, allocations: 4 kB / 0.7894 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.002241/0.2163, allocations: 464.8 kB / 0.7898 GB, free: 6.227 MB / 0.6075 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)