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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.643/2.643, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.001277/0.001277, allocations: 180.6 kB / 371 MB, free: 10.85 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.217/2.217, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.0009382/0.0009378, allocations: 93.23 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006829/0.0006832, allocations: 12.66 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2326, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001808/0.2345, allocations: 1.199 MB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2358, allocations: 0.6381 MB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.2358, allocations: 0 / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.2359, allocations: 11.92 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.815e-05/0.236, allocations: 11.92 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.2363, allocations: 51.88 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.457e-05/0.2364, allocations: 35.86 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2365, allocations: 8 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.409e-05/0.2366, allocations: 19.91 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.2367, allocations: 7.938 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.2367, allocations: 4 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.2369, allocations: 91.83 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.2369, allocations: 8 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.237, allocations: 29.64 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.2371, allocations: 64.12 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2371, allocations: 4 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.205e-06/0.2372, allocations: 0 / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2372, allocations: 0 / 0.9806 GB, free: 26.06 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.0004287/0.2376, allocations: 355.2 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.2377, allocations: 12.02 kB / 0.9809 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.2377, allocations: 30.56 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.2378, allocations: 11.86 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.214e-05/0.2379, allocations: 163.1 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.2379, allocations: 4 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2379, allocations: 4 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.2381, allocations: 57.61 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2381, allocations: 0 / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2381, allocations: 8 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2382, allocations: 0 / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.2383, allocations: 23.98 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.2387, allocations: 280.8 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.2389, allocations: 42.5 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.239, allocations: 16.92 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004819/0.2394, allocations: 0.5583 MB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.2395, allocations: 30.56 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.424e-06/0.2395, allocations: 0 / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003494/0.2399, allocations: 85.47 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.2399, allocations: 51.41 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.24, allocations: 121.8 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.24, allocations: 25.7 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.2401, allocations: 96.06 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2401, allocations: 8.031 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.2401, allocations: 7.938 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.2402, allocations: 310.8 kB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.2403, allocations: 15.98 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.23e-05/0.2403, allocations: 8 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.2404, allocations: 15.98 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2404, allocations: 4.062 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.2406, allocations: 53.69 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2407, allocations: 10.03 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2407, allocations: 0 / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2407, allocations: 3.953 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.2408, allocations: 11.92 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2408, allocations: 0 / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.2409, allocations: 11.94 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2409, allocations: 0 / 0.9829 GB, free: 23.3 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 6.571e-05/0.241, allocations: 113.8 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.241, allocations: 4 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.2413, allocations: 65.2 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.2413, allocations: 3.953 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2413, allocations: 32 / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2413, allocations: 4 kB / 0.9831 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.2415, allocations: 161.7 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2415, allocations: 0 / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-05/0.2416, allocations: 7.984 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2416, allocations: 0 / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.2416, allocations: 7.938 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2416, allocations: 0 / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2417, allocations: 3.953 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.2419, allocations: 163.4 kB / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.2419, allocations: 81.11 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.242, allocations: 4 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.2421, allocations: 4 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.2421, allocations: 0 / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.2421, allocations: 7.938 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.794e-05/0.2422, allocations: 107.7 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2422, allocations: 0 / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003229/0.2425, allocations: 8 kB / 0.9836 GB, free: 22.47 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.0004805/0.243, allocations: 0.6968 MB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.2432, allocations: 27.98 kB / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2432, allocations: 0 / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.18e-05/0.2433, allocations: 8 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2436, allocations: 12.27 kB / 0.9844 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009701/0.2446, allocations: 467.8 kB / 0.9848 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.2448, allocations: 0.6848 MB / 0.9855 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.412e-05/0.2448, allocations: 7.984 kB / 0.9855 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.2449, allocations: 15.44 kB / 0.9855 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.2449, allocations: 0 / 0.9855 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.2659, allocations: 1.259 MB / 0.9867 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/0.2662, allocations: 173 kB / 0.9869 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/2.754, allocations: 4.062 kB / 0.9869 GB, free: 19.08 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)