Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.001003/0.001004, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001144/0.001145, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.394/1.394, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003317, allocations: 11.98 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1744, allocations: 83.42 MB / 0.5975 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001443/0.1759, allocations: 0.9946 MB / 0.5985 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1781, allocations: 1.339 MB / 0.5998 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.1781, allocations: 0 / 0.5998 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.1782, allocations: 0 / 0.5998 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.1783, allocations: 15.94 kB / 0.5998 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.179, allocations: 183.3 kB / 0.6 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.211e-05/0.1791, allocations: 23.92 kB / 0.6 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.1791, allocations: 3.984 kB / 0.6 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.542e-05/0.1792, allocations: 11.94 kB / 0.6001 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1793, allocations: 19.97 kB / 0.6001 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1794, allocations: 4 kB / 0.6001 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.1797, allocations: 131.8 kB / 0.6002 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.1797, allocations: 3.984 kB / 0.6002 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.1797, allocations: 33.7 kB / 0.6002 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.18, allocations: 99.81 kB / 0.6003 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.18, allocations: 3.938 kB / 0.6003 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.18, allocations: 0 / 0.6003 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.18, allocations: 0 / 0.6003 GB, free: 4.805 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003906/0.1804, allocations: 367.5 kB / 0.6007 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1804, allocations: 8.031 kB / 0.6007 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.1805, allocations: 105.8 kB / 0.6008 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.825e-05/0.1806, allocations: 83.28 kB / 0.6009 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1807, allocations: 242.3 kB / 0.6011 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.1808, allocations: 154.6 kB / 0.6013 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.1809, allocations: 158.5 kB / 0.6014 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.324e-05/0.1809, allocations: 101 kB / 0.6015 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.181, allocations: 75.28 kB / 0.6016 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.181, allocations: 162.4 kB / 0.6017 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.507e-05/0.1811, allocations: 154.6 kB / 0.6019 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.728e-05/0.1812, allocations: 154.6 kB / 0.602 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.1815, allocations: 453.9 kB / 0.6025 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.266e-05/0.1816, allocations: 169.1 kB / 0.6026 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.1816, allocations: 80.14 kB / 0.6027 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1816, allocations: 79.22 kB / 0.6028 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.1817, allocations: 117.8 kB / 0.6029 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1817, allocations: 0 / 0.6029 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.757e-05/0.1818, allocations: 25.7 kB / 0.6029 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.1819, allocations: 134.7 kB / 0.603 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.182, allocations: 101.9 kB / 0.6031 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.182, allocations: 25.7 kB / 0.6032 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.182, allocations: 88.12 kB / 0.6032 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.182, allocations: 0 / 0.6032 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.1821, allocations: 0 / 0.6032 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1822, allocations: 318.8 kB / 0.6035 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.1822, allocations: 0 / 0.6035 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.696e-05/0.1822, allocations: 34.5 kB / 0.6036 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.1823, allocations: 8 kB / 0.6036 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1823, allocations: 0 / 0.6036 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000125/0.1824, allocations: 49.53 kB / 0.6036 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1824, allocations: 8 kB / 0.6036 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1824, allocations: 0 / 0.6036 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1825, allocations: 96 / 0.6036 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.1825, allocations: 15.94 kB / 0.6037 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1825, allocations: 7.984 kB / 0.6037 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.1827, allocations: 7.984 kB / 0.6037 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1827, allocations: 0 / 0.6037 GB, free: 1.141 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.1828, allocations: 193 kB / 0.6039 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.1829, allocations: 108.9 kB / 0.604 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.1829, allocations: 104.1 kB / 0.6041 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.864e-05/0.183, allocations: 192.2 kB / 0.6042 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-05/0.1831, allocations: 176.3 kB / 0.6044 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.946e-05/0.1831, allocations: 180.3 kB / 0.6046 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3922/0.5754, allocations: 405.2 kB / 0.605 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/0.5754, allocations: 102.7 kB / 0.6051 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.5755, allocations: 106.7 kB / 0.6052 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.07e-05/0.5755, allocations: 184.9 kB / 0.6053 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.5756, allocations: 182.4 kB / 0.6055 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.068e-05/0.5756, allocations: 182.4 kB / 0.6057 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-05/0.5756, allocations: 183.9 kB / 0.6059 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.5758, allocations: 306.7 kB / 0.6062 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.5758, allocations: 181.4 kB / 0.6063 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.5759, allocations: 188 kB / 0.6065 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.576, allocations: 101.7 kB / 0.6066 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.576, allocations: 183.1 kB / 0.6068 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.576, allocations: 107.1 kB / 0.6069 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.452e-05/0.5761, allocations: 82.42 kB / 0.607 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5761, allocations: 0.7812 kB / 0.607 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004778/0.5766, allocations: 50.25 kB / 0.607 GB, free: 38.68 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007848/0.5774, allocations: 0.9689 MB / 0.608 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.715e-05/0.5775, allocations: 10.16 kB / 0.608 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5775, allocations: 0 / 0.608 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.5775, allocations: 2.469 kB / 0.608 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.5778, allocations: 0.5264 MB / 0.6085 GB, free: 37.35 MB / 0.4981 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.5785, allocations: 454.2 kB / 0.6089 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.5787, allocations: 0.6776 MB / 0.6096 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.621e-05/0.5787, allocations: 10.03 kB / 0.6096 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.5787, allocations: 8.062 kB / 0.6096 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.5787, allocations: 0 / 0.6096 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3972/0.9759, allocations: 2.386 MB / 0.6119 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.9762, allocations: 270.9 kB / 0.6122 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/3.106, allocations: 0 / 0.6122 GB, free: 35.75 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) Environment - environmentSimulation: