Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.814/1.814, allocations: 288.4 MB / 303.4 MB, free: 8.137 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.00105/0.00105, allocations: 180.5 kB / 372 MB, free: 10.26 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.889/1.889, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0009873/0.0009875, allocations: 86.36 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004051, allocations: 12.53 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2288, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001667/0.2305, allocations: 1.199 MB / 0.9807 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009156/0.2315, allocations: 0.634 MB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.2315, allocations: 0 / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.2315, allocations: 7.938 kB / 0.9814 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.2316, allocations: 7.938 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.2319, allocations: 51.88 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.461e-05/0.232, allocations: 31.86 kB / 0.9815 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.2321, allocations: 15.98 kB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.507e-05/0.2321, allocations: 11.98 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.2322, allocations: 23.86 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.2322, allocations: 0 / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.2324, allocations: 87.91 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.2324, allocations: 3.984 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.2324, allocations: 41.58 kB / 0.9816 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2325, allocations: 48.2 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2325, allocations: 3.984 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2325, allocations: 0 / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2325, allocations: 0 / 0.9817 GB, free: 25.48 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.0003639/0.2329, allocations: 359.3 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2329, allocations: 12.02 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.233, allocations: 7.906 kB / 0.982 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.331e-05/0.2331, allocations: 174.9 kB / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2331, allocations: 8 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.2331, allocations: 0 / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.2332, allocations: 53.69 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2333, allocations: 0 / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2333, allocations: 3.984 kB / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2333, allocations: 4 kB / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.563e-05/0.2334, allocations: 31.92 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.2337, allocations: 276.8 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.197e-05/0.2338, allocations: 38.56 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.2338, allocations: 16.92 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003208/0.2341, allocations: 0.5583 MB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.2342, allocations: 30.56 kB / 0.9832 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.2342, allocations: 3.938 kB / 0.9832 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002453/0.2344, allocations: 81.53 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.668e-05/0.2344, allocations: 51.41 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.2345, allocations: 125.8 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.2345, allocations: 25.7 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.2346, allocations: 96.08 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.2346, allocations: 7.969 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.2346, allocations: 4.125 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.2346, allocations: 322.8 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/0.2347, allocations: 12 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.2347, allocations: 11.92 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.202e-05/0.2348, allocations: 12 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2348, allocations: 4 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000108/0.2349, allocations: 61.73 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.2349, allocations: 4 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2349, allocations: 0 / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.235, allocations: 0 / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.235, allocations: 8 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.235, allocations: 3.953 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.2351, allocations: 7.906 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.2351, allocations: 8.016 kB / 0.984 GB, free: 22.75 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.346e-05/0.2352, allocations: 111.2 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.2352, allocations: 4 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.2353, allocations: 69.14 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2353, allocations: 0 / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2354, allocations: 0 / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2354, allocations: 7.984 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.2355, allocations: 161.7 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2355, allocations: 0 / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.2355, allocations: 8 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2356, allocations: 0 / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2356, allocations: 3.984 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2356, allocations: 0 / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2356, allocations: 0 / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.2357, allocations: 167.3 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.2358, allocations: 77.11 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.2358, allocations: 3.984 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.287e-05/0.2359, allocations: 4 kB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.2359, allocations: 0 / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2359, allocations: 4 kB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.2359, allocations: 95.27 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2359, allocations: 7.969 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002167/0.2362, allocations: 11.94 kB / 0.9847 GB, free: 21.93 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.0001384/0.2363, allocations: 107.2 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.2364, allocations: 27.98 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2365, allocations: 0 / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.458e-05/0.2365, allocations: 20 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.2367, allocations: 4 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.237, allocations: 148.5 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.2371, allocations: 0.6809 MB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.388e-05/0.2371, allocations: 4.062 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.2372, allocations: 15.42 kB / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2372, allocations: 0 / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.002237/0.2394, allocations: 446.2 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)