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 2.926/2.926, allocations: 287.3 MB / 302.3 MB, free: 8.391 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.001603/0.001603, allocations: 185.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.246/2.246, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001592/0.001592, allocations: 104.3 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006501/0.0006506, allocations: 20.31 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2427, allocations: 115.3 MB / 0.9782 GB, free: 28.44 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002621/0.2454, allocations: 1.199 MB / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.2473, allocations: 0.6422 MB / 0.98 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.175e-05/0.2475, allocations: 3.938 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.2475, allocations: 3.984 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.2476, allocations: 4 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.2481, allocations: 59.81 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.7e-05/0.2482, allocations: 23.91 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.2484, allocations: 11.98 kB / 0.9801 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.2485, allocations: 7.984 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.2486, allocations: 19.86 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.2487, allocations: 4 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.249, allocations: 79.91 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.249, allocations: 11.98 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.2491, allocations: 29.7 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.2493, allocations: 52.2 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2493, allocations: 0 / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2493, allocations: 3.938 kB / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.2494, allocations: 0 / 0.9803 GB, free: 26.26 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.0005674/0.2499, allocations: 351.2 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.25, allocations: 16.02 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.2501, allocations: 3.906 kB / 0.9806 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.2502, allocations: 179 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.2503, allocations: 3.984 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.2503, allocations: 4 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.2507, allocations: 49.69 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2507, allocations: 0 / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2507, allocations: 4 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2508, allocations: 0 / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.251, allocations: 39.92 kB / 0.9809 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.2516, allocations: 276.7 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.2518, allocations: 30.58 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007012/0.2525, allocations: 0.5623 MB / 0.9817 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.2526, allocations: 38.48 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.567e-06/0.2526, allocations: 0 / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000477/0.2531, allocations: 73.55 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.2531, allocations: 51.41 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2533, allocations: 126 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2533, allocations: 25.7 kB / 0.982 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.2534, allocations: 92.08 kB / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.2534, allocations: 3.906 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.2535, allocations: 0 / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.914e-05/0.2536, allocations: 318.8 kB / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.2537, allocations: 8 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.2538, allocations: 19.98 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.2539, allocations: 15.88 kB / 0.9825 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.254, allocations: 0 / 0.9825 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000306/0.2543, allocations: 61.67 kB / 0.9825 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.2543, allocations: 8 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2543, allocations: 0 / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2544, allocations: 4.094 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.2546, allocations: 7.953 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2546, allocations: 3.938 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.2547, allocations: 11.89 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.2547, allocations: 0 / 0.9826 GB, free: 23.57 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 9.455e-05/0.2548, allocations: 111.9 kB / 0.9827 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.2549, allocations: 4 kB / 0.9827 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.2552, allocations: 73.14 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2553, allocations: 0 / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.2553, allocations: 7.953 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2553, allocations: 3.984 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.2556, allocations: 165.7 kB / 0.9829 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2556, allocations: 0 / 0.9829 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2557, allocations: 7.984 kB / 0.9829 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.2558, allocations: 4 kB / 0.9829 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2558, allocations: 4.031 kB / 0.9829 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2558, allocations: 0 / 0.9829 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2558, allocations: 0 / 0.9829 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.2562, allocations: 159.3 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.2563, allocations: 85.09 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.2563, allocations: 0 / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.2565, allocations: 8.031 kB / 0.9832 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.2566, allocations: 0 / 0.9832 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.2566, allocations: 0 / 0.9832 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.562e-05/0.2567, allocations: 95.27 kB / 0.9833 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.71e-07/0.2567, allocations: 0 / 0.9833 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005898/0.2573, allocations: 19.95 kB / 0.9833 GB, free: 22.73 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.0002698/0.2576, allocations: 104.4 kB / 0.9834 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005832/0.2582, allocations: 27.98 kB / 0.9834 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.2583, allocations: 0 / 0.9834 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.2585, allocations: 12 kB / 0.9834 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.2588, allocations: 11.92 kB / 0.9834 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.2593, allocations: 153.4 kB / 0.9836 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.2595, allocations: 0.6887 MB / 0.9843 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.421e-05/0.2596, allocations: 4 kB / 0.9843 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.462e-05/0.2596, allocations: 7.438 kB / 0.9843 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of SimCode: time 1.363e-06/0.2596, allocations: 0 / 0.9843 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of Templates: time 0.004007/0.2637, allocations: 440.1 kB / 0.9847 GB, free: 21.25 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)