Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.428/4.428, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.002414/0.002414, allocations: 177 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.019/4.019, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.00149/0.001491, allocations: 92.7 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008288/0.0008291, allocations: 11.72 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3435, allocations: 106.3 MB / 0.8995 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.7129, allocations: 132.9 MB / 1.029 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004426/0.7134, allocations: 75.95 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01388/0.7274, allocations: 1.829 MB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.828e-06/0.7274, allocations: 0 / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.7275, allocations: 0 / 1.031 GB, free: 10.62 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.000866/0.7283, allocations: 379.2 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/0.7284, allocations: 8.031 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.7285, allocations: 8.938 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.7288, allocations: 176.3 kB / 1.032 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.7288, allocations: 384 / 1.032 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.7289, allocations: 8.375 kB / 1.032 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.7292, allocations: 50.25 kB / 1.032 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.7292, allocations: 192 / 1.032 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.7292, allocations: 7.875 kB / 1.032 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.7293, allocations: 4 kB / 1.032 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.7295, allocations: 35.91 kB / 1.032 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006864/0.7302, allocations: 284.7 kB / 1.032 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.7305, allocations: 34.52 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.7306, allocations: 16.91 kB / 1.032 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009578/0.7316, allocations: 0.5622 MB / 1.033 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.7317, allocations: 30.56 kB / 1.033 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 3.907e-06/0.7317, allocations: 0 / 1.033 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000568/0.7323, allocations: 65.67 kB / 1.033 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.7324, allocations: 59.47 kB / 1.033 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.7326, allocations: 121.8 kB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.7327, allocations: 29.64 kB / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.7328, allocations: 92.12 kB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.7328, allocations: 3.906 kB / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.7328, allocations: 0 / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.7331, allocations: 320.4 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.7332, allocations: 11.98 kB / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.7333, allocations: 16 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.7335, allocations: 11.98 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.7335, allocations: 0 / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003333/0.7339, allocations: 61.59 kB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.7339, allocations: 4 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.7339, allocations: 4.094 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.734, allocations: 0 / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.7341, allocations: 7.984 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7342, allocations: 0 / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.7343, allocations: 8 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.7343, allocations: 0 / 1.033 GB, free: 7.887 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 0.0001452/0.7345, allocations: 118.8 kB / 1.034 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.7346, allocations: 7.984 kB / 1.034 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.735, allocations: 69.12 kB / 1.034 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.735, allocations: 3.984 kB / 1.034 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.735, allocations: 0 / 1.034 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.7351, allocations: 0 / 1.034 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.7355, allocations: 169.6 kB / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7355, allocations: 0 / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.7356, allocations: 4 kB / 1.034 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.7357, allocations: 8.031 kB / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.7357, allocations: 0 / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.7357, allocations: 0 / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7357, allocations: 0 / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.7361, allocations: 155.4 kB / 1.034 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.7362, allocations: 88.95 kB / 1.034 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.7363, allocations: 11.97 kB / 1.034 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.7365, allocations: 7.984 kB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.7366, allocations: 4 kB / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.7366, allocations: 0 / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001347/0.7367, allocations: 95.27 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.41e-07/0.7368, allocations: 0 / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000581/0.7374, allocations: 11.94 kB / 1.034 GB, free: 7.047 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.0003331/0.7377, allocations: 107.3 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.7381, allocations: 39.86 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.7381, allocations: 0 / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.7383, allocations: 15.98 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.7388, allocations: 2.328 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006808/0.7395, allocations: 152.7 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.74, allocations: 0.6809 MB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.726e-05/0.7401, allocations: 11.97 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.7401, allocations: 7.438 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of SimCode: time 1.683e-06/0.7401, allocations: 0 / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of Templates: time 0.004878/0.745, allocations: 430.1 kB / 1.036 GB, free: 5.555 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)