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.001365/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00148/0.001481, allocations: 194 kB / 16.14 MB, free: 6.668 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.559 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 0.9802/0.9802, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 71.89 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1818, allocations: 82.04 MB / 0.5937 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001722/0.1836, allocations: 0.6414 MB / 0.5944 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1852, allocations: 1.248 MB / 0.5956 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-06/0.1852, allocations: 0 / 0.5956 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.1852, allocations: 3.938 kB / 0.5956 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-06/0.1853, allocations: 0 / 0.5956 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.1856, allocations: 59.86 kB / 0.5957 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.932e-05/0.1856, allocations: 4 kB / 0.5957 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.1857, allocations: 0 / 0.5957 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.353e-05/0.1857, allocations: 3.938 kB / 0.5957 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.1857, allocations: 0 / 0.5957 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.612e-06/0.1857, allocations: 0 / 0.5957 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.186, allocations: 95.89 kB / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.186, allocations: 4 kB / 0.5958 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.186, allocations: 0 / 0.5958 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1861, allocations: 59.86 kB / 0.5958 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1862, allocations: 4 kB / 0.5958 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1862, allocations: 4 kB / 0.5958 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.1862, allocations: 0 / 0.5958 GB, free: 7.832 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.0003135/0.1865, allocations: 322 kB / 0.5961 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1865, allocations: 12.03 kB / 0.5961 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.1866, allocations: 34.69 kB / 0.5962 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.96e-05/0.1866, allocations: 0.9375 kB / 0.5962 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.267e-05/0.1867, allocations: 160.4 kB / 0.5963 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.1867, allocations: 384 / 0.5963 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.1867, allocations: 4.375 kB / 0.5963 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.1868, allocations: 33.83 kB / 0.5964 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1868, allocations: 0 / 0.5964 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1868, allocations: 4 kB / 0.5964 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1869, allocations: 0 / 0.5964 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.1869, allocations: 3.984 kB / 0.5964 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.187, allocations: 149.7 kB / 0.5965 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.229e-05/0.1871, allocations: 18.52 kB / 0.5965 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.1871, allocations: 8.859 kB / 0.5965 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005341/0.1876, allocations: 0.5662 MB / 0.5971 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1877, allocations: 34.5 kB / 0.5971 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 4.779e-06/0.1877, allocations: 3.984 kB / 0.5971 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000109/0.1878, allocations: 29.7 kB / 0.5972 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.1878, allocations: 63.47 kB / 0.5972 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.966e-05/0.1879, allocations: 89.86 kB / 0.5973 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.1879, allocations: 29.7 kB / 0.5973 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.1879, allocations: 84.12 kB / 0.5974 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1879, allocations: 3.906 kB / 0.5974 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.188, allocations: 9.719 kB / 0.5974 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1881, allocations: 314.8 kB / 0.5977 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.1881, allocations: 0 / 0.5977 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.1881, allocations: 7.938 kB / 0.5977 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.1881, allocations: 12.86 kB / 0.5977 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1881, allocations: 0 / 0.5977 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.568e-05/0.1882, allocations: 29.7 kB / 0.5978 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1882, allocations: 19.86 kB / 0.5978 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1882, allocations: 3.938 kB / 0.5978 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.1882, allocations: 0 / 0.5978 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.65e-05/0.1883, allocations: 0 / 0.5978 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.1883, allocations: 96 / 0.5978 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.1883, allocations: 4 kB / 0.5978 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1883, allocations: 4 kB / 0.5978 GB, free: 5.441 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 6.592e-05/0.1884, allocations: 105.8 kB / 0.5979 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-06/0.1884, allocations: 3.938 kB / 0.5979 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.986e-05/0.1885, allocations: 41.09 kB / 0.5979 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1885, allocations: 4 kB / 0.5979 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1885, allocations: 4.031 kB / 0.598 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1885, allocations: 0 / 0.598 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.361e-05/0.1886, allocations: 141.7 kB / 0.5981 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1886, allocations: 0 / 0.5981 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.1886, allocations: 7.984 kB / 0.5981 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1886, allocations: 7.875 kB / 0.5981 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.1886, allocations: 0 / 0.5981 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1886, allocations: 0 / 0.5981 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1886, allocations: 0 / 0.5981 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.927e-05/0.1887, allocations: 61.14 kB / 0.5982 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.1888, allocations: 84.98 kB / 0.5982 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.1888, allocations: 3.984 kB / 0.5982 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-06/0.1888, allocations: 0 / 0.5982 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.1888, allocations: 0 / 0.5982 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1888, allocations: 4 kB / 0.5983 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.224e-05/0.1888, allocations: 75.28 kB / 0.5983 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1888, allocations: 0 / 0.5983 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001796/0.189, allocations: 8 kB / 0.5983 GB, free: 4.801 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.0004073/0.1894, allocations: 0.6046 MB / 0.5989 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.162e-05/0.1895, allocations: 4 kB / 0.5989 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1895, allocations: 3.938 kB / 0.5989 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.1895, allocations: 12.09 kB / 0.5989 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.1897, allocations: 0 / 0.5989 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.1899, allocations: 114 kB / 0.599 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.1902, allocations: 0.6692 MB / 0.5997 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.1902, allocations: 4 kB / 0.5997 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.1902, allocations: 7.438 kB / 0.5997 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1902, allocations: 0 / 0.5997 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0098/0.2, allocations: 0.9168 MB / 0.6006 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.2003, allocations: 215.8 kB / 0.6008 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.782, allocations: 0 / 0.6008 GB, free: 2.238 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)