Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.Examples.Splice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0007595/0.0007595, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004616/0.004616, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.9772/0.9772, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002998, allocations: 8 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1812, allocations: 83.41 MB / 0.598 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.002134/0.1834, allocations: 1.229 MB / 0.5992 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1848, allocations: 0.6243 MB / 0.5998 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.1848, allocations: 0 / 0.5998 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.1849, allocations: 11.86 kB / 0.5998 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.69e-05/0.185, allocations: 3.984 kB / 0.5998 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.1853, allocations: 63.81 kB / 0.5998 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.972e-05/0.1854, allocations: 27.92 kB / 0.5999 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1856, allocations: 16 kB / 0.5999 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.275e-05/0.1856, allocations: 7.938 kB / 0.5999 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.1857, allocations: 19.91 kB / 0.5999 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1858, allocations: 4 kB / 0.5999 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.1859, allocations: 95.83 kB / 0.6 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.186, allocations: 11.94 kB / 0.6 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.186, allocations: 41.62 kB / 0.6001 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1862, allocations: 83.98 kB / 0.6001 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1862, allocations: 4 kB / 0.6001 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.665e-06/0.1862, allocations: 0 / 0.6001 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.1862, allocations: 0 / 0.6001 GB, free: 5.301 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005177/0.1868, allocations: 355.4 kB / 0.6005 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.1868, allocations: 8.031 kB / 0.6005 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.1869, allocations: 34.75 kB / 0.6005 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.1869, allocations: 12.83 kB / 0.6005 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.187, allocations: 168.3 kB / 0.6007 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1871, allocations: 4.375 kB / 0.6007 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1871, allocations: 4.375 kB / 0.6007 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1873, allocations: 65.72 kB / 0.6008 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1873, allocations: 0 / 0.6008 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1873, allocations: 4 kB / 0.6008 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1873, allocations: 0 / 0.6008 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.758e-05/0.1874, allocations: 31.98 kB / 0.6008 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.1878, allocations: 280.7 kB / 0.6011 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.401e-05/0.1879, allocations: 38.5 kB / 0.6011 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.188, allocations: 12.92 kB / 0.6011 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005156/0.1885, allocations: 0.5661 MB / 0.6017 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1886, allocations: 34.56 kB / 0.6017 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.1886, allocations: 0 / 0.6017 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002578/0.1888, allocations: 73.77 kB / 0.6018 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.1889, allocations: 59.28 kB / 0.6018 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.189, allocations: 125.7 kB / 0.6019 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.189, allocations: 25.7 kB / 0.602 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.1891, allocations: 88.14 kB / 0.6021 GB, free: 3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.1891, allocations: 7.891 kB / 0.6021 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.1891, allocations: 9.719 kB / 0.6021 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1892, allocations: 318.8 kB / 0.6024 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.1893, allocations: 20.02 kB / 0.6024 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.1893, allocations: 8 kB / 0.6024 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.758e-05/0.1894, allocations: 28.84 kB / 0.6024 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1894, allocations: 0 / 0.6024 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001196/0.1895, allocations: 65.66 kB / 0.6025 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1896, allocations: 7.984 kB / 0.6025 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1896, allocations: 3.938 kB / 0.6025 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1896, allocations: 0 / 0.6025 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.1896, allocations: 4 kB / 0.6025 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1897, allocations: 8 kB / 0.6025 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.1897, allocations: 0 / 0.6025 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1897, allocations: 7.938 kB / 0.6025 GB, free: 2.496 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 (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 8.79e-05/0.1898, allocations: 117.9 kB / 0.6026 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1898, allocations: 11.89 kB / 0.6027 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.19, allocations: 65.2 kB / 0.6027 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.19, allocations: 0 / 0.6027 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.19, allocations: 0 / 0.6027 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.19, allocations: 0 / 0.6027 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.1902, allocations: 169.6 kB / 0.6029 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1902, allocations: 4.031 kB / 0.6029 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.1903, allocations: 11.94 kB / 0.6029 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1903, allocations: 0 / 0.6029 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1903, allocations: 0 / 0.6029 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1903, allocations: 3.984 kB / 0.6029 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1903, allocations: 0 / 0.6029 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.1904, allocations: 155.5 kB / 0.603 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.1905, allocations: 81.02 kB / 0.6031 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1905, allocations: 0 / 0.6031 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.1906, allocations: 11.98 kB / 0.6031 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.1906, allocations: 0 / 0.6031 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1906, allocations: 3.938 kB / 0.6031 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.698e-05/0.1907, allocations: 99.2 kB / 0.6032 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1907, allocations: 0 / 0.6032 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002189/0.1909, allocations: 8 kB / 0.6032 GB, free: 1.664 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 (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.0004704/0.1914, allocations: 0.7007 MB / 0.6039 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1915, allocations: 32.02 kB / 0.604 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1915, allocations: 0 / 0.604 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.772e-05/0.1916, allocations: 15.98 kB / 0.604 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1918, allocations: 11.88 kB / 0.604 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2451/0.4369, allocations: 1.32 MB / 0.6053 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.675e-05/0.437, allocations: 0.6826 MB / 0.6059 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.4371, allocations: 4.844 kB / 0.6059 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.4371, allocations: 14.58 kB / 0.606 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.4371, allocations: 0.875 kB / 0.606 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00917/0.4463, allocations: 1.285 MB / 0.6072 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001306/0.4464, allocations: 197.9 kB / 0.6074 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.126, allocations: 0 / 0.6074 GB, free: 39.23 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)