Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001185, allocations: 174.4 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 0.5783 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009635/0.0009636, allocations: 93.03 kB / 0.6829 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 9.656 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2374, allocations: 106.3 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00166/0.2392, allocations: 1.207 MB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.2402, allocations: 0.6407 MB / 0.9026 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.2402, allocations: 0 / 0.9026 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.2402, allocations: 3.938 kB / 0.9026 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.529e-05/0.2403, allocations: 4 kB / 0.9026 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.2406, allocations: 59.81 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.912e-05/0.2407, allocations: 31.92 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2408, allocations: 7.984 kB / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.202e-05/0.2409, allocations: 15.94 kB / 0.9027 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.241, allocations: 15.91 kB / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.241, allocations: 0 / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.2412, allocations: 99.84 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.2412, allocations: 3.984 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.2412, allocations: 33.7 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.2413, allocations: 51.92 kB / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2414, allocations: 0 / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2414, allocations: 0 / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2414, allocations: 0 / 0.9029 GB, free: 61.66 MB / 0.6042 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.0004366/0.2418, allocations: 359.4 kB / 0.9033 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.2419, allocations: 16.02 kB / 0.9033 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.2419, allocations: 0 / 0.9033 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.242, allocations: 178.8 kB / 0.9035 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2421, allocations: 4 kB / 0.9035 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.2421, allocations: 8 kB / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.2423, allocations: 53.67 kB / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2423, allocations: 3.984 kB / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2423, allocations: 4 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.2423, allocations: 0 / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.2424, allocations: 27.98 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.2427, allocations: 280.7 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.098e-05/0.2428, allocations: 34.56 kB / 0.9039 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.2429, allocations: 16.92 kB / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003677/0.2433, allocations: 0.5583 MB / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2433, allocations: 38.48 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2433, allocations: 0 / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002488/0.2436, allocations: 69.64 kB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.2436, allocations: 55.53 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.2437, allocations: 121.8 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.485e-06/0.2437, allocations: 25.7 kB / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.2437, allocations: 88.14 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.2438, allocations: 7.906 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/0.2438, allocations: 0 / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.2438, allocations: 322.8 kB / 0.9051 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.2439, allocations: 11.94 kB / 0.9051 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/0.2439, allocations: 15.98 kB / 0.9052 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.244, allocations: 15.94 kB / 0.9052 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.244, allocations: 0 / 0.9052 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001065/0.2441, allocations: 65.58 kB / 0.9052 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2441, allocations: 4 kB / 0.9052 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2441, allocations: 4.094 kB / 0.9052 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2441, allocations: 3.953 kB / 0.9052 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.2442, allocations: 8 kB / 0.9052 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.2442, allocations: 0 / 0.9052 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/0.2443, allocations: 7.922 kB / 0.9053 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.2443, allocations: 7.938 kB / 0.9053 GB, free: 58.93 MB / 0.6042 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.303e-05/0.2444, allocations: 109.8 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.2444, allocations: 11.91 kB / 0.9054 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.2445, allocations: 73.12 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2446, allocations: 0 / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2446, allocations: 3.953 kB / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2446, allocations: 0 / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.2447, allocations: 169.7 kB / 0.9056 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2447, allocations: 0 / 0.9056 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.2448, allocations: 11.98 kB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2448, allocations: 0 / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2448, allocations: 4.031 kB / 0.9056 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2448, allocations: 0 / 0.9056 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2448, allocations: 0 / 0.9056 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.2449, allocations: 159.4 kB / 0.9058 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.245, allocations: 85 kB / 0.9059 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.245, allocations: 4.031 kB / 0.9059 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.919e-05/0.245, allocations: 4 kB / 0.9059 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.2451, allocations: 0 / 0.9059 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2451, allocations: 0 / 0.9059 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.2452, allocations: 107.6 kB / 0.906 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2452, allocations: 0 / 0.906 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002061/0.2454, allocations: 12 kB / 0.906 GB, free: 58.09 MB / 0.6042 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.0001584/0.2455, allocations: 103.2 kB / 0.9061 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.2457, allocations: 31.98 kB / 0.9061 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2457, allocations: 0 / 0.9061 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.2457, allocations: 8 kB / 0.9061 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.246, allocations: 15.92 kB / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.2464, allocations: 170.4 kB / 0.9063 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.2466, allocations: 0.6848 MB / 0.907 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.2466, allocations: 11.42 kB / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2466, allocations: 0 / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.002089/0.2487, allocations: 0.7097 MB / 0.9077 GB, free: 56.3 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)