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.001635/0.001635, 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.001761/0.001761, allocations: 193.2 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.059/1.059, allocations: 143 MB / 433.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 63.91 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1739, allocations: 82.04 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.004011/0.1779, allocations: 1.49 MB / 0.5958 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1792, allocations: 0.6475 MB / 0.5965 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.1792, allocations: 0 / 0.5965 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.1793, allocations: 3.938 kB / 0.5965 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.1794, allocations: 7.938 kB / 0.5965 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.1798, allocations: 79.67 kB / 0.5966 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.869e-05/0.1799, allocations: 35.92 kB / 0.5966 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.18, allocations: 23.97 kB / 0.5966 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.098e-05/0.1801, allocations: 11.94 kB / 0.5966 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.073e-05/0.1801, allocations: 15.92 kB / 0.5966 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1802, allocations: 4 kB / 0.5967 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.1804, allocations: 103.9 kB / 0.5968 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.1804, allocations: 7.938 kB / 0.5968 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.1804, allocations: 11.94 kB / 0.5968 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1806, allocations: 95.98 kB / 0.5969 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1807, allocations: 0 / 0.5969 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1807, allocations: 4 kB / 0.5969 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1807, allocations: 0 / 0.5969 GB, free: 6.945 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.0005169/0.1812, allocations: 359.3 kB / 0.5972 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1813, allocations: 12.03 kB / 0.5972 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.1813, allocations: 34.69 kB / 0.5973 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1813, allocations: 4.938 kB / 0.5973 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1815, allocations: 168.3 kB / 0.5974 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1815, allocations: 8.359 kB / 0.5974 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.1815, allocations: 4.375 kB / 0.5974 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1817, allocations: 61.8 kB / 0.5975 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1817, allocations: 3.938 kB / 0.5975 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1818, allocations: 4 kB / 0.5975 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1818, allocations: 0 / 0.5975 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1819, allocations: 27.97 kB / 0.5975 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.1823, allocations: 276.7 kB / 0.5978 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.147e-05/0.1824, allocations: 38.56 kB / 0.5978 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.1825, allocations: 20.92 kB / 0.5978 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005248/0.183, allocations: 0.5583 MB / 0.5984 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.183, allocations: 34.5 kB / 0.5984 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.1831, allocations: 8 kB / 0.5984 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002751/0.1833, allocations: 57.69 kB / 0.5985 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.1834, allocations: 55.39 kB / 0.5985 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1835, allocations: 125.7 kB / 0.5987 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.1835, allocations: 25.7 kB / 0.5987 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.1836, allocations: 92.05 kB / 0.5988 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.1836, allocations: 4 kB / 0.5988 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1837, allocations: 21.83 kB / 0.5988 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1838, allocations: 318.8 kB / 0.5991 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.1838, allocations: 11.98 kB / 0.5991 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/0.1839, allocations: 4 kB / 0.5991 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.213e-05/0.184, allocations: 32.78 kB / 0.5991 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.184, allocations: 0 / 0.5991 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001335/0.1841, allocations: 65.64 kB / 0.5992 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1841, allocations: 4 kB / 0.5992 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1841, allocations: 0 / 0.5992 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1842, allocations: 0 / 0.5992 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.585e-05/0.1842, allocations: 4 kB / 0.5992 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1843, allocations: 0 / 0.5992 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.1843, allocations: 4 kB / 0.5992 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1843, allocations: 3.938 kB / 0.5992 GB, free: 4.168 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.545e-05/0.1844, allocations: 117.8 kB / 0.5993 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.1844, allocations: 7.938 kB / 0.5993 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.1846, allocations: 65.14 kB / 0.5994 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1846, allocations: 0 / 0.5994 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1847, allocations: 0 / 0.5994 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1847, allocations: 0 / 0.5994 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.1848, allocations: 169.6 kB / 0.5996 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1848, allocations: 0 / 0.5996 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.539e-05/0.1849, allocations: 4 kB / 0.5996 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1849, allocations: 0 / 0.5996 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1849, allocations: 8.016 kB / 0.5996 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1849, allocations: 0 / 0.5996 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1849, allocations: 11.92 kB / 0.5996 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.1851, allocations: 155.3 kB / 0.5997 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.1852, allocations: 81.11 kB / 0.5998 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1852, allocations: 7.922 kB / 0.5998 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.1852, allocations: 32 / 0.5998 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.1853, allocations: 4 kB / 0.5998 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1853, allocations: 4 kB / 0.5998 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.1853, allocations: 99.2 kB / 0.5999 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1854, allocations: 0 / 0.5999 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002337/0.1856, allocations: 16 kB / 0.5999 GB, free: 3.328 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.0005129/0.1861, allocations: 0.6929 MB / 0.6006 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1863, allocations: 23.92 kB / 0.6006 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1863, allocations: 0 / 0.6006 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.617e-05/0.1863, allocations: 11.98 kB / 0.6007 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.1865, allocations: 8 kB / 0.6007 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1878, allocations: 1.32 MB / 0.6019 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.188, allocations: 0.6846 MB / 0.6026 GB, free: 472 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.1881, allocations: 0 / 0.6026 GB, free: 472 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.1881, allocations: 19.44 kB / 0.6026 GB, free: 452 kB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1881, allocations: 0 / 0.6026 GB, free: 452 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2614/0.4496, allocations: 1.469 MB / 0.6041 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.962, allocations: 11.94 kB / 0.6041 GB, free: 43.82 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)