Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.877/1.877, allocations: 287.5 MB / 302.6 MB, free: 8.227 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.001391/0.001391, allocations: 189.7 kB / 371.2 MB, free: 10.73 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.799/1.799, allocations: 205.4 MB / 0.6299 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007323/0.0007323, allocations: 88.88 kB / 0.7432 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 12.09 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2514, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00168/0.2532, allocations: 1.203 MB / 0.9798 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.2542, allocations: 0.6373 MB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.2543, allocations: 0 / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.2543, allocations: 0 / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.612e-05/0.2544, allocations: 11.92 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.2548, allocations: 51.89 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.593e-05/0.2548, allocations: 35.84 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.255, allocations: 19.98 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.255, allocations: 7.938 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.2551, allocations: 15.92 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.2551, allocations: 4 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.2553, allocations: 79.91 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.2553, allocations: 19.86 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.2554, allocations: 25.7 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.2555, allocations: 60.14 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2555, allocations: 4 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2555, allocations: 0 / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.2555, allocations: 0 / 0.9808 GB, free: 25.97 MB / 0.6198 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.0003684/0.2559, allocations: 359.4 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2559, allocations: 8.031 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.256, allocations: 8.844 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.3e-05/0.2561, allocations: 172.3 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2561, allocations: 4.375 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.2561, allocations: 4.375 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.2562, allocations: 58.88 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2563, allocations: 0 / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2563, allocations: 0 / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2563, allocations: 0 / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.012e-05/0.2564, allocations: 31.98 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.2567, allocations: 288.7 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.102e-05/0.2568, allocations: 30.58 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.2568, allocations: 16.91 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/0.2572, allocations: 0.5544 MB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.2572, allocations: 34.56 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.2572, allocations: 0 / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000246/0.2575, allocations: 73.52 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.2575, allocations: 55.41 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.775e-05/0.2576, allocations: 122 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.2576, allocations: 29.7 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.2576, allocations: 92.06 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.2577, allocations: 3.906 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.2577, allocations: 7.938 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.395e-05/0.2577, allocations: 318.8 kB / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/0.2578, allocations: 11.98 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.428e-05/0.2578, allocations: 16 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.363e-05/0.2579, allocations: 28.84 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2579, allocations: 0 / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001117/0.258, allocations: 65.52 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2581, allocations: 4 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.2581, allocations: 4.094 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2581, allocations: 4 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.2582, allocations: 4 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2582, allocations: 0 / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.2582, allocations: 7.984 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.2582, allocations: 0 / 0.9831 GB, free: 23.25 MB / 0.6198 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 5.892e-05/0.2583, allocations: 123.1 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.2583, allocations: 0 / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.2585, allocations: 73.14 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2585, allocations: 11.98 kB / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2585, allocations: 0 / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2585, allocations: 3.938 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.2587, allocations: 169.5 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2587, allocations: 0 / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.2587, allocations: 7.984 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2587, allocations: 4.031 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.2587, allocations: 0 / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2587, allocations: 0 / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2587, allocations: 4 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.2589, allocations: 151.5 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.2589, allocations: 88.94 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.259, allocations: 8.031 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.259, allocations: 0 / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.2591, allocations: 4 kB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.2591, allocations: 0 / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.2591, allocations: 99.2 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2591, allocations: 0 / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00024/0.2594, allocations: 15.94 kB / 0.9838 GB, free: 22.4 MB / 0.6198 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.000136/0.2595, allocations: 103.3 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.2597, allocations: 31.98 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2597, allocations: 0 / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.964e-05/0.2597, allocations: 15.98 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.26, allocations: 7.156 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.2603, allocations: 148.7 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2604, allocations: 0.6809 MB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.2605, allocations: 3.984 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.2605, allocations: 19.42 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2605, allocations: 0 / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.002423/0.2629, allocations: 444 kB / 0.9852 GB, free: 20.91 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)