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.285/1.285, allocations: 252 MB / 267.9 MB, free: 10.93 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.000948/0.0009481, allocations: 184.6 kB / 327.6 MB, free: 2.16 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.477/1.477, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.0007778/0.0007778, allocations: 86.84 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003907, allocations: 16.56 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1817, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.3311, allocations: 133 MB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.3314, allocations: 87.88 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006197/0.3376, allocations: 2.177 MB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3376, allocations: 0 / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3377, allocations: 0 / 1.033 GB, free: 8.293 MB / 0.6823 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.0003789/0.338, allocations: 375.2 kB / 1.034 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3381, allocations: 8.031 kB / 1.034 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.3381, allocations: 12.92 kB / 1.034 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.3382, allocations: 168.3 kB / 1.034 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3383, allocations: 4.359 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.3383, allocations: 4.375 kB / 1.034 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3384, allocations: 50.25 kB / 1.034 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3384, allocations: 192 / 1.034 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3385, allocations: 3.938 kB / 1.034 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3385, allocations: 4 kB / 1.034 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.411e-05/0.3386, allocations: 35.92 kB / 1.034 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.3389, allocations: 284.7 kB / 1.034 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/0.339, allocations: 34.52 kB / 1.034 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.3391, allocations: 20.91 kB / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/0.3395, allocations: 0.5623 MB / 1.035 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.3395, allocations: 30.56 kB / 1.035 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.3395, allocations: 0 / 1.035 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002569/0.3398, allocations: 73.67 kB / 1.035 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.3398, allocations: 51.41 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.3399, allocations: 125.7 kB / 1.035 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.34, allocations: 25.7 kB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.34, allocations: 96.03 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.34, allocations: 3.938 kB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.34, allocations: 0 / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.3401, allocations: 322.9 kB / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.3402, allocations: 11.98 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.248e-05/0.3402, allocations: 12 kB / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.622e-05/0.3403, allocations: 28.84 kB / 1.036 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3403, allocations: 0 / 1.036 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001219/0.3405, allocations: 69.64 kB / 1.036 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3405, allocations: 8 kB / 1.036 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3405, allocations: 0 / 1.036 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.3405, allocations: 0 / 1.036 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.3406, allocations: 7.938 kB / 1.036 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3406, allocations: 0 / 1.036 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.3406, allocations: 4 kB / 1.036 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3406, allocations: 11.95 kB / 1.036 GB, free: 5.531 MB / 0.6823 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 6.535e-05/0.3407, allocations: 117.8 kB / 1.036 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3407, allocations: 7.906 kB / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.3409, allocations: 65.2 kB / 1.036 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3409, allocations: 0 / 1.036 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3409, allocations: 0 / 1.036 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3409, allocations: 0 / 1.036 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3411, allocations: 169.6 kB / 1.036 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3411, allocations: 3.938 kB / 1.036 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.3412, allocations: 4 kB / 1.036 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3412, allocations: 3.984 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3412, allocations: 8 kB / 1.036 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3412, allocations: 3.938 kB / 1.036 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3412, allocations: 0 / 1.036 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.3413, allocations: 151.5 kB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.3414, allocations: 85.02 kB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.3414, allocations: 3.984 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.3415, allocations: 4 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.3415, allocations: 4 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.3415, allocations: 0 / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.3416, allocations: 95.27 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3416, allocations: 4.031 kB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002128/0.3418, allocations: 11.94 kB / 1.036 GB, free: 4.703 MB / 0.6823 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.0001478/0.342, allocations: 107.2 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.3421, allocations: 35.86 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3421, allocations: 0 / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.3422, allocations: 16.06 kB / 1.036 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.3424, allocations: 6.969 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.3427, allocations: 148.6 kB / 1.037 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.3429, allocations: 0.6809 MB / 1.037 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.3429, allocations: 11.98 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.343, allocations: 11.44 kB / 1.037 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.343, allocations: 0 / 1.037 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of Templates: time 0.002232/0.3452, allocations: 434.4 kB / 1.038 GB, free: 3.207 MB / 0.6823 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)