Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 199.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002268/0.002268, allocations: 282.8 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9025/0.9025, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 87.06 kB / 0.5946 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1866, allocations: 86.99 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002807/0.1895, allocations: 1.546 MB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1906, allocations: 0.6514 MB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.1906, allocations: 0 / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.83e-05/0.1907, allocations: 0 / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.218e-05/0.1908, allocations: 7.938 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.1911, allocations: 60.38 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.1911, allocations: 39.86 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.1912, allocations: 19.91 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.1913, allocations: 19.88 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.1914, allocations: 15.92 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1914, allocations: 4 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.1916, allocations: 99.89 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.1916, allocations: 7.984 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.1917, allocations: 19.88 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1918, allocations: 87.77 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1919, allocations: 3.938 kB / 0.6821 GB, free: 14.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1919, allocations: 0 / 0.6821 GB, free: 14.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1919, allocations: 0 / 0.6821 GB, free: 14.49 MB / 494.1 MB 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.0005448/0.1924, allocations: 351.4 kB / 0.6824 GB, free: 14.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1925, allocations: 12.03 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/0.1925, allocations: 34.75 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.1926, allocations: 8.844 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.1927, allocations: 168.3 kB / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1928, allocations: 8.375 kB / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.1928, allocations: 384 / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1929, allocations: 61.8 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1929, allocations: 0 / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.193, allocations: 0 / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.193, allocations: 0 / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.099e-05/0.1931, allocations: 31.92 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.1935, allocations: 284.7 kB / 0.683 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.991e-05/0.1936, allocations: 30.58 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.1936, allocations: 16.84 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005657/0.1942, allocations: 0.5583 MB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.1943, allocations: 34.56 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.1943, allocations: 4 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002752/0.1945, allocations: 57.67 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1946, allocations: 55.41 kB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.1947, allocations: 121.8 kB / 0.6838 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1947, allocations: 25.7 kB / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.1948, allocations: 88.14 kB / 0.6839 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.1948, allocations: 8.031 kB / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.1949, allocations: 17.72 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.195, allocations: 318.8 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.1951, allocations: 15.94 kB / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.1951, allocations: 7.984 kB / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.928e-05/0.1952, allocations: 28.78 kB / 0.6843 GB, free: 11.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1952, allocations: 4.062 kB / 0.6843 GB, free: 11.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001298/0.1954, allocations: 57.59 kB / 0.6844 GB, free: 11.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1954, allocations: 4 kB / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1954, allocations: 7.922 kB / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1954, allocations: 0 / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.1955, allocations: 11.98 kB / 0.6844 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1955, allocations: 0 / 0.6844 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.1956, allocations: 7.938 kB / 0.6844 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1956, allocations: 3.938 kB / 0.6844 GB, free: 11.72 MB / 494.1 MB 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 0.000105/0.1957, allocations: 114.5 kB / 0.6845 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.1957, allocations: 3.906 kB / 0.6845 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.1959, allocations: 65.2 kB / 0.6846 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.196, allocations: 0 / 0.6846 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.196, allocations: 0 / 0.6846 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.196, allocations: 3.984 kB / 0.6846 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.1962, allocations: 169.7 kB / 0.6848 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1962, allocations: 0 / 0.6848 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.1963, allocations: 12.03 kB / 0.6848 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1963, allocations: 0 / 0.6848 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1963, allocations: 0 / 0.6848 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1963, allocations: 0 / 0.6848 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1963, allocations: 4 kB / 0.6848 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.1965, allocations: 151.4 kB / 0.6849 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.1966, allocations: 89.02 kB / 0.685 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1966, allocations: 4.031 kB / 0.685 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.88e-05/0.1966, allocations: 0 / 0.685 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.1967, allocations: 3.984 kB / 0.685 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.1967, allocations: 4 kB / 0.685 GB, free: 11.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.877e-05/0.1968, allocations: 95.2 kB / 0.6851 GB, free: 10.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1968, allocations: 0 / 0.6851 GB, free: 10.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.197, allocations: 19.94 kB / 0.6851 GB, free: 10.9 MB / 494.1 MB 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.0005529/0.1976, allocations: 0.6967 MB / 0.6858 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.1977, allocations: 19.98 kB / 0.6858 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1977, allocations: 0 / 0.6858 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.1978, allocations: 15.98 kB / 0.6858 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.198, allocations: 12.09 kB / 0.6859 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1993, allocations: 1.313 MB / 0.6871 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1996, allocations: 0.6809 MB / 0.6878 GB, free: 8.035 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.682e-05/0.1996, allocations: 4 kB / 0.6878 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.1997, allocations: 23.36 kB / 0.6878 GB, free: 8.008 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1997, allocations: 0 / 0.6878 GB, free: 8.008 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.2114, allocations: 1.348 MB / 0.6891 GB, free: 6.754 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/0.2117, allocations: 199.4 kB / 0.6893 GB, free: 6.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.863, allocations: 3.938 kB / 0.6893 GB, free: 6.496 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)