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.384/1.384, allocations: 252 MB / 268 MB, free: 10.85 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.001281/0.001281, allocations: 171.5 kB / 327.6 MB, free: 2.078 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.873/1.873, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0008073/0.0008069, allocations: 77.77 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.000341, allocations: 10.72 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2494, allocations: 106.3 MB / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001847/0.2513, allocations: 1.227 MB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.2525, allocations: 0.6794 MB / 0.9033 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.2525, allocations: 3.938 kB / 0.9033 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.2526, allocations: 3.984 kB / 0.9033 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/0.2527, allocations: 7.938 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.253, allocations: 51.83 kB / 0.9034 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.2531, allocations: 39.91 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2532, allocations: 11.98 kB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.589e-05/0.2533, allocations: 11.94 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.2534, allocations: 19.86 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2534, allocations: 0 / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.2536, allocations: 95.89 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.2536, allocations: 4 kB / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.2537, allocations: 49.56 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.2538, allocations: 47.92 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2538, allocations: 0 / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2539, allocations: 0 / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.2539, allocations: 0 / 0.9036 GB, free: 61.05 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.0004201/0.2543, allocations: 359.6 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2543, allocations: 12.03 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.2544, allocations: 4.875 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.701e-05/0.2545, allocations: 172.2 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2545, allocations: 12.38 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.2545, allocations: 4.359 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.2547, allocations: 61.98 kB / 0.9042 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.2547, allocations: 0 / 0.9042 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.2547, allocations: 0 / 0.9042 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2548, allocations: 0 / 0.9042 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.458e-05/0.2549, allocations: 27.98 kB / 0.9043 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.2552, allocations: 288.7 kB / 0.9045 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.2553, allocations: 26.58 kB / 0.9046 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.2554, allocations: 20.91 kB / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003832/0.2558, allocations: 0.5583 MB / 0.9051 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.2558, allocations: 30.56 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.2558, allocations: 3.938 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002595/0.2561, allocations: 69.67 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.2561, allocations: 59.47 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.2562, allocations: 125.8 kB / 0.9054 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.2562, allocations: 25.7 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.2563, allocations: 96.03 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.2563, allocations: 0 / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.2563, allocations: 4 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.2564, allocations: 314.8 kB / 0.9058 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.2564, allocations: 15.98 kB / 0.9058 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.2564, allocations: 15.94 kB / 0.9059 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.069e-05/0.2565, allocations: 36.78 kB / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2565, allocations: 0 / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.2567, allocations: 65.64 kB / 0.906 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2567, allocations: 4 kB / 0.906 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2567, allocations: 4 kB / 0.906 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2568, allocations: 0 / 0.906 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.49e-05/0.2568, allocations: 4 kB / 0.906 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2569, allocations: 0 / 0.906 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.2569, allocations: 15.92 kB / 0.906 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.2569, allocations: 0 / 0.906 GB, free: 58.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.941e-05/0.257, allocations: 117.8 kB / 0.9061 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.257, allocations: 7.906 kB / 0.9061 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.2572, allocations: 65.14 kB / 0.9062 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2572, allocations: 4 kB / 0.9062 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2572, allocations: 0 / 0.9062 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2572, allocations: 0 / 0.9062 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.2573, allocations: 169.6 kB / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2574, allocations: 0 / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.2574, allocations: 12.02 kB / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2574, allocations: 0 / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2574, allocations: 0 / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2574, allocations: 4 kB / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2574, allocations: 0 / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.2576, allocations: 163.3 kB / 0.9065 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.2576, allocations: 93.02 kB / 0.9066 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.2577, allocations: 0 / 0.9066 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.827e-05/0.2577, allocations: 0 / 0.9066 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.2578, allocations: 4 kB / 0.9066 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2578, allocations: 0 / 0.9066 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.2578, allocations: 99.27 kB / 0.9067 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2578, allocations: 0 / 0.9067 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002179/0.258, allocations: 11.94 kB / 0.9067 GB, free: 57.47 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.2582, allocations: 111.3 kB / 0.9068 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.2583, allocations: 23.98 kB / 0.9068 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2584, allocations: 4 kB / 0.9068 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.2584, allocations: 11.94 kB / 0.9068 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.2586, allocations: 7.984 kB / 0.9069 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.2589, allocations: 174.5 kB / 0.907 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.2591, allocations: 0.6809 MB / 0.9077 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.2591, allocations: 11.38 kB / 0.9077 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2591, allocations: 0 / 0.9077 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.002014/0.2611, allocations: 0.714 MB / 0.9084 GB, free: 55.67 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)