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.001078/0.001078, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001118/0.001119, allocations: 197.8 kB / 16.14 MB, free: 6.695 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.018/1.018, allocations: 143 MB / 433 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.5136 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1757, allocations: 82.02 MB / 0.5937 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.002859/0.1786, allocations: 1.574 MB / 0.5952 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1797, allocations: 0.6514 MB / 0.5959 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.1797, allocations: 0 / 0.5959 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.1798, allocations: 0 / 0.5959 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.1798, allocations: 11.92 kB / 0.5959 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.1801, allocations: 51.88 kB / 0.5959 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.62e-05/0.1802, allocations: 39.86 kB / 0.596 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.1803, allocations: 12 kB / 0.596 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.045e-05/0.1803, allocations: 15.92 kB / 0.596 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.1804, allocations: 23.84 kB / 0.596 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1804, allocations: 4 kB / 0.596 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1806, allocations: 95.91 kB / 0.5961 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.1806, allocations: 0 / 0.5961 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.1807, allocations: 23.84 kB / 0.5961 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1808, allocations: 88.06 kB / 0.5962 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1808, allocations: 0 / 0.5962 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1808, allocations: 0 / 0.5962 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1808, allocations: 4 kB / 0.5962 GB, free: 7.34 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.0004236/0.1813, allocations: 363.3 kB / 0.5966 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1813, allocations: 12.03 kB / 0.5966 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.1814, allocations: 30.75 kB / 0.5966 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.1814, allocations: 4.938 kB / 0.5966 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1815, allocations: 172.2 kB / 0.5968 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1815, allocations: 4.375 kB / 0.5968 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.1815, allocations: 4.375 kB / 0.5968 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1817, allocations: 57.8 kB / 0.5969 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1817, allocations: 4 kB / 0.5969 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1817, allocations: 4 kB / 0.5969 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1817, allocations: 3.938 kB / 0.5969 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.1818, allocations: 23.98 kB / 0.5969 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.1822, allocations: 280.7 kB / 0.5972 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.298e-05/0.1823, allocations: 38.56 kB / 0.5972 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.1823, allocations: 16.91 kB / 0.5972 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004683/0.1828, allocations: 0.5544 MB / 0.5977 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1828, allocations: 30.56 kB / 0.5978 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1828, allocations: 0 / 0.5978 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002457/0.1831, allocations: 73.61 kB / 0.5978 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1831, allocations: 51.41 kB / 0.5979 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1832, allocations: 125.7 kB / 0.598 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1833, allocations: 29.69 kB / 0.598 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.1833, allocations: 92.05 kB / 0.5981 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.1833, allocations: 4 kB / 0.5981 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.1834, allocations: 13.72 kB / 0.5981 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1835, allocations: 326.9 kB / 0.5985 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.351e-05/0.1835, allocations: 8 kB / 0.5985 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.1836, allocations: 7.984 kB / 0.5985 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.784e-05/0.1837, allocations: 36.78 kB / 0.5985 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1837, allocations: 0 / 0.5985 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001142/0.1838, allocations: 57.59 kB / 0.5986 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1838, allocations: 8.094 kB / 0.5986 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1838, allocations: 0 / 0.5986 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1838, allocations: 0 / 0.5986 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.709e-05/0.1839, allocations: 7.984 kB / 0.5986 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1839, allocations: 0 / 0.5986 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.184, allocations: 4 kB / 0.5986 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.184, allocations: 3.938 kB / 0.5986 GB, free: 4.562 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 7.417e-05/0.1841, allocations: 113.8 kB / 0.5987 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1841, allocations: 3.906 kB / 0.5987 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.1843, allocations: 69.14 kB / 0.5988 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1843, allocations: 0 / 0.5988 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1843, allocations: 0 / 0.5988 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1843, allocations: 3.938 kB / 0.5988 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1845, allocations: 169.6 kB / 0.5989 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1845, allocations: 0 / 0.5989 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.1845, allocations: 11.92 kB / 0.5989 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1845, allocations: 0 / 0.5989 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1845, allocations: 0 / 0.5989 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1845, allocations: 4.031 kB / 0.5989 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1845, allocations: 0 / 0.5989 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.1847, allocations: 163.3 kB / 0.5991 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.1848, allocations: 77.11 kB / 0.5992 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.1848, allocations: 4 kB / 0.5992 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.1848, allocations: 0 / 0.5992 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.1849, allocations: 12 kB / 0.5992 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1849, allocations: 4 kB / 0.5992 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.318e-05/0.185, allocations: 99.2 kB / 0.5993 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.185, allocations: 0 / 0.5993 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000225/0.1852, allocations: 16 kB / 0.5993 GB, free: 3.723 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.0004876/0.1857, allocations: 0.689 MB / 0.6 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.1858, allocations: 23.92 kB / 0.6 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1858, allocations: 0 / 0.6 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.1859, allocations: 11.98 kB / 0.6 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1861, allocations: 11.94 kB / 0.6 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.1874, allocations: 1.31 MB / 0.6013 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1876, allocations: 0.6848 MB / 0.602 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.114e-05/0.1876, allocations: 0 / 0.602 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.1877, allocations: 19.42 kB / 0.602 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1877, allocations: 0 / 0.602 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2532/0.4409, allocations: 1.349 MB / 0.6033 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/0.4411, allocations: 190.6 kB / 0.6035 GB, free: 43.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.05, allocations: 0 / 0.6035 GB, free: 43.33 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)