Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",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.001139/0.001139, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001282/0.001282, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.076/1.076, allocations: 143 MB / 433.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 59.91 kB / 0.5138 GB, free: 11.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.185, allocations: 82.03 MB / 0.5939 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002011/0.1871, allocations: 0.6427 MB / 0.5945 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1886, allocations: 1.248 MB / 0.5958 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.248e-05/0.1887, allocations: 0 / 0.5958 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.1887, allocations: 4 kB / 0.5958 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.65e-06/0.1887, allocations: 0 / 0.5958 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.1891, allocations: 55.88 kB / 0.5958 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.75e-05/0.1892, allocations: 4 kB / 0.5958 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.1892, allocations: 0 / 0.5958 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.583e-05/0.1892, allocations: 4 kB / 0.5958 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.44e-05/0.1893, allocations: 3.984 kB / 0.5958 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.1893, allocations: 0 / 0.5958 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.1895, allocations: 95.91 kB / 0.5959 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.1895, allocations: 0 / 0.5959 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.659e-05/0.1896, allocations: 3.984 kB / 0.5959 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.1897, allocations: 59.86 kB / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1897, allocations: 0 / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1897, allocations: 4 kB / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.1897, allocations: 0 / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002833/0.19, allocations: 323.6 kB / 0.5963 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1901, allocations: 11.97 kB / 0.5963 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.1901, allocations: 34.75 kB / 0.5963 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.901e-05/0.1901, allocations: 0.9375 kB / 0.5963 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.1902, allocations: 164.4 kB / 0.5965 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1902, allocations: 384 / 0.5965 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-06/0.1902, allocations: 384 / 0.5965 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.434e-05/0.1903, allocations: 33.83 kB / 0.5965 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1903, allocations: 3.984 kB / 0.5965 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.1903, allocations: 0 / 0.5965 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1904, allocations: 4 kB / 0.5965 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.1904, allocations: 7.922 kB / 0.5965 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.1905, allocations: 145.7 kB / 0.5967 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.665e-05/0.1906, allocations: 22.55 kB / 0.5967 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.1906, allocations: 4.859 kB / 0.5967 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005146/0.1911, allocations: 0.5623 MB / 0.5973 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1911, allocations: 42.5 kB / 0.5973 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1911, allocations: 0 / 0.5973 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.1913, allocations: 33.64 kB / 0.5973 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1913, allocations: 51.41 kB / 0.5974 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.859e-05/0.1913, allocations: 93.98 kB / 0.5975 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.1913, allocations: 25.7 kB / 0.5975 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.1914, allocations: 84.12 kB / 0.5976 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.1914, allocations: 7.906 kB / 0.5976 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.1914, allocations: 9.719 kB / 0.5976 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.1915, allocations: 314.8 kB / 0.5979 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.1916, allocations: 0 / 0.5979 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.1916, allocations: 7.938 kB / 0.5979 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.1916, allocations: 8.922 kB / 0.5979 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1916, allocations: 4 kB / 0.5979 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.854e-05/0.1917, allocations: 37.62 kB / 0.5979 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1917, allocations: 10.12 kB / 0.598 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1917, allocations: 0 / 0.598 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1917, allocations: 0 / 0.598 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.419e-05/0.1917, allocations: 4 kB / 0.598 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1918, allocations: 0 / 0.598 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.1918, allocations: 0 / 0.598 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1918, allocations: 4.031 kB / 0.598 GB, free: 5.25 MB / 0.4981 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 (1): * Single equations (assignments): 1 * 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.525e-05/0.1918, allocations: 113.8 kB / 0.5981 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.1919, allocations: 3.938 kB / 0.5981 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.086e-05/0.1919, allocations: 37.09 kB / 0.5981 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1919, allocations: 0 / 0.5981 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.192, allocations: 0 / 0.5981 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.192, allocations: 0 / 0.5981 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.088e-05/0.192, allocations: 153.7 kB / 0.5983 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1921, allocations: 0 / 0.5983 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.764e-05/0.1921, allocations: 7.922 kB / 0.5983 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1921, allocations: 3.938 kB / 0.5983 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1921, allocations: 8 kB / 0.5983 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1921, allocations: 0 / 0.5983 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1921, allocations: 0 / 0.5983 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.311e-05/0.1922, allocations: 49.14 kB / 0.5983 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.1922, allocations: 93.02 kB / 0.5984 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.1922, allocations: 7.922 kB / 0.5984 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-06/0.1922, allocations: 0 / 0.5984 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.1923, allocations: 4 kB / 0.5984 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.1923, allocations: 0 / 0.5984 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.222e-05/0.1923, allocations: 75.28 kB / 0.5985 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1923, allocations: 0 / 0.5985 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001827/0.1925, allocations: 8 kB / 0.5985 GB, free: 4.598 MB / 0.4981 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 (1): * Single equations (assignments): 1 * 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.000353/0.1928, allocations: 0.6085 MB / 0.5991 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.926e-05/0.1929, allocations: 4 kB / 0.5991 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1929, allocations: 3.938 kB / 0.5991 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.634e-06/0.1929, allocations: 4 kB / 0.5991 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.1931, allocations: 2.953 kB / 0.5991 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.1933, allocations: 122.7 kB / 0.5992 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.1935, allocations: 0.669 MB / 0.5999 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.1935, allocations: 0 / 0.5999 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.1936, allocations: 11.44 kB / 0.5999 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1936, allocations: 0 / 0.5999 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009767/0.2033, allocations: 0.9414 MB / 0.6008 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.2036, allocations: 219 kB / 0.601 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/1.926, allocations: 0 / 0.601 GB, free: 2.023 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)