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.001696/0.001696, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.047/1.047, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 67.89 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1826, allocations: 82.04 MB / 0.5944 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002633/0.1853, allocations: 0.5701 MB / 0.595 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.1871, allocations: 1.256 MB / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.1872, allocations: 0 / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.1872, allocations: 0 / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.1872, allocations: 0 / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.1877, allocations: 67.75 kB / 0.5963 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.973e-05/0.1878, allocations: 4 kB / 0.5963 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.1878, allocations: 0 / 0.5963 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.1878, allocations: 0 / 0.5963 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.1879, allocations: 4 kB / 0.5963 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.1879, allocations: 4 kB / 0.5963 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.1882, allocations: 99.88 kB / 0.5964 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.1882, allocations: 0 / 0.5964 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.1882, allocations: 0 / 0.5964 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1884, allocations: 55.88 kB / 0.5964 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1884, allocations: 0 / 0.5964 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1884, allocations: 0 / 0.5964 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.1884, allocations: 0 / 0.5964 GB, free: 7.418 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.0003804/0.1888, allocations: 329.6 kB / 0.5967 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.1889, allocations: 8.031 kB / 0.5967 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1889, allocations: 38.69 kB / 0.5968 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.189, allocations: 0.9375 kB / 0.5968 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1891, allocations: 164.3 kB / 0.5969 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1891, allocations: 384 / 0.5969 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.1891, allocations: 4.375 kB / 0.5969 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.1893, allocations: 37.81 kB / 0.597 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1893, allocations: 0 / 0.597 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1893, allocations: 0 / 0.597 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.1893, allocations: 0 / 0.597 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.639e-05/0.1893, allocations: 4 kB / 0.597 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.1895, allocations: 149.7 kB / 0.5971 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.868e-05/0.1896, allocations: 22.55 kB / 0.5971 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.1896, allocations: 4.859 kB / 0.5971 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006255/0.1902, allocations: 0.5623 MB / 0.5977 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1903, allocations: 38.5 kB / 0.5977 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1903, allocations: 0 / 0.5977 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001707/0.1905, allocations: 37.69 kB / 0.5978 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.1905, allocations: 51.41 kB / 0.5978 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.212e-05/0.1906, allocations: 89.86 kB / 0.5979 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1906, allocations: 29.64 kB / 0.5979 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.1906, allocations: 84.14 kB / 0.598 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.1907, allocations: 3.906 kB / 0.598 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1907, allocations: 17.84 kB / 0.598 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1908, allocations: 310.8 kB / 0.5983 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.1909, allocations: 0 / 0.5983 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-06/0.1909, allocations: 7.938 kB / 0.5983 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.1909, allocations: 8.844 kB / 0.5983 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1909, allocations: 0 / 0.5983 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.24e-05/0.191, allocations: 37.7 kB / 0.5984 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.191, allocations: 14.53 kB / 0.5984 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.191, allocations: 0 / 0.5984 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.191, allocations: 0 / 0.5984 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.1911, allocations: 7.938 kB / 0.5984 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1911, allocations: 0 / 0.5984 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.265e-05/0.1911, allocations: 0 / 0.5984 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.1911, allocations: 0 / 0.5984 GB, free: 5.027 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 8.212e-05/0.1912, allocations: 105.8 kB / 0.5985 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.1913, allocations: 11.92 kB / 0.5985 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.1914, allocations: 41.11 kB / 0.5986 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1914, allocations: 0 / 0.5986 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1914, allocations: 0 / 0.5986 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1914, allocations: 0 / 0.5986 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.1915, allocations: 157.6 kB / 0.5987 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1915, allocations: 0 / 0.5987 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.1915, allocations: 0 / 0.5987 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.1916, allocations: 3.938 kB / 0.5987 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1916, allocations: 0 / 0.5987 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1916, allocations: 4.031 kB / 0.5987 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1916, allocations: 7.938 kB / 0.5987 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.451e-05/0.1917, allocations: 61.11 kB / 0.5988 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.1917, allocations: 84.98 kB / 0.5989 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.1917, allocations: 0 / 0.5989 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-06/0.1918, allocations: 4 kB / 0.5989 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.1918, allocations: 0 / 0.5989 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.1918, allocations: 32 / 0.5989 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.294e-05/0.1918, allocations: 79.28 kB / 0.5989 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1918, allocations: 0 / 0.5989 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002047/0.192, allocations: 8 kB / 0.5989 GB, free: 4.371 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.0005225/0.1926, allocations: 0.6085 MB / 0.5995 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.1927, allocations: 12.02 kB / 0.5996 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1927, allocations: 3.938 kB / 0.5996 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.035e-06/0.1927, allocations: 0 / 0.5996 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.1928, allocations: 4 kB / 0.5996 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.1932, allocations: 108.1 kB / 0.5997 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1935, allocations: 0.6768 MB / 0.6003 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.507e-05/0.1935, allocations: 8.062 kB / 0.6003 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.1936, allocations: 7.438 kB / 0.6003 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1936, allocations: 0 / 0.6003 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.2116, allocations: 1.01 MB / 0.6013 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.769, allocations: 9.656 kB / 0.6013 GB, free: 1.93 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)