Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.846/2.846, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.00128/0.00128, allocations: 182.1 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009323/0.0009323, allocations: 96.77 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.0005032, allocations: 13.92 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.247, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001935/0.249, allocations: 1.191 MB / 0.9795 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.2503, allocations: 0.6537 MB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.2504, allocations: 0 / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.2505, allocations: 7.938 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.072e-05/0.2505, allocations: 0 / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.2509, allocations: 63.8 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.402e-05/0.251, allocations: 35.86 kB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2511, allocations: 8 kB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.748e-05/0.2512, allocations: 11.98 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.2513, allocations: 11.92 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.2513, allocations: 7.938 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.2515, allocations: 83.91 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.2516, allocations: 15.92 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.2516, allocations: 29.64 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.2517, allocations: 56.2 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2518, allocations: 0 / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2518, allocations: 0 / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2518, allocations: 0 / 0.9805 GB, free: 26.19 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.0004407/0.2522, allocations: 355.2 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2523, allocations: 12.02 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.2523, allocations: 11.91 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2525, allocations: 175 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2525, allocations: 0 / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.2525, allocations: 4 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2527, allocations: 53.67 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2527, allocations: 0 / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2528, allocations: 4 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.2528, allocations: 4 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.2529, allocations: 35.92 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.2533, allocations: 276.8 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.2535, allocations: 34.56 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.346e-05/0.2535, allocations: 20.86 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.254, allocations: 0.5622 MB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.2541, allocations: 34.56 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.655e-06/0.2541, allocations: 0 / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003564/0.2545, allocations: 77.62 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.2545, allocations: 55.41 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.2546, allocations: 117.8 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.2546, allocations: 25.7 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.2547, allocations: 92.06 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.2547, allocations: 7.906 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.2547, allocations: 3.938 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.2548, allocations: 314.8 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.2549, allocations: 23.89 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.255, allocations: 12 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.219e-05/0.2551, allocations: 11.98 kB / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2551, allocations: 0 / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001928/0.2553, allocations: 61.75 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2553, allocations: 4 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2553, allocations: 4 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2554, allocations: 3.953 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.2555, allocations: 7.984 kB / 0.9828 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2555, allocations: 0 / 0.9828 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.029e-05/0.2556, allocations: 7.906 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2556, allocations: 0 / 0.9828 GB, free: 23.46 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 7.968e-05/0.2557, allocations: 115.2 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.2558, allocations: 0 / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.256, allocations: 69.14 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.256, allocations: 4 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2561, allocations: 3.953 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2561, allocations: 0 / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.2562, allocations: 169.7 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2563, allocations: 0 / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.2563, allocations: 12.02 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.2564, allocations: 0 / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.2564, allocations: 0 / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2564, allocations: 4 kB / 0.9831 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2564, allocations: 0 / 0.9831 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.2566, allocations: 167.3 kB / 0.9833 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.2567, allocations: 81.11 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.2567, allocations: 0 / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.2568, allocations: 0 / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.2568, allocations: 4 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.2569, allocations: 3.984 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.944e-05/0.2569, allocations: 107.5 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2569, allocations: 0 / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002935/0.2572, allocations: 8 kB / 0.9835 GB, free: 22.63 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.0001684/0.2574, allocations: 107.3 kB / 0.9836 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.2576, allocations: 23.98 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2576, allocations: 0 / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.517e-05/0.2577, allocations: 15.92 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.258, allocations: 8 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.2584, allocations: 148.7 kB / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.2586, allocations: 0.6887 MB / 0.9845 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.2586, allocations: 4 kB / 0.9845 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.2587, allocations: 7.438 kB / 0.9845 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of SimCode: time 1.513e-06/0.2587, allocations: 4 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.003222/0.2619, allocations: 440.5 kB / 0.9849 GB, free: 21.15 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)