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.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.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.001111/0.001111, allocations: 108 kB / 15.6 MB, free: 132 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.001095/0.001095, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.158/1.158, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.835/0.835, allocations: 143 MB / 433.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 67.89 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1247, allocations: 82.05 MB / 0.5944 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001803/0.1265, allocations: 1.253 MB / 0.5956 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1281, allocations: 1.436 MB / 0.597 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.1281, allocations: 0 / 0.597 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.573e-06/0.1282, allocations: 0 / 0.597 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.477e-05/0.1282, allocations: 19.91 kB / 0.597 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.1288, allocations: 222.6 kB / 0.5973 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.787e-05/0.1288, allocations: 27.86 kB / 0.5973 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 1.682e-05/0.1288, allocations: 0 / 0.5973 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.347e-05/0.1289, allocations: 11.98 kB / 0.5973 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.129, allocations: 20.88 kB / 0.5973 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.129, allocations: 0 / 0.5973 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.1292, allocations: 159.8 kB / 0.5975 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.1292, allocations: 3.984 kB / 0.5975 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.1293, allocations: 8 kB / 0.5975 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1295, allocations: 139.8 kB / 0.5976 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.1295, allocations: 0 / 0.5976 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.61e-07/0.1295, allocations: 0 / 0.5976 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.415e-06/0.1295, allocations: 0 / 0.5976 GB, free: 6.16 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.0002582/0.1297, allocations: 383.6 kB / 0.598 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.224e-05/0.1298, allocations: 12.02 kB / 0.598 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.1298, allocations: 110 kB / 0.5981 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.1299, allocations: 80.22 kB / 0.5982 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.13, allocations: 239.7 kB / 0.5984 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/0.1301, allocations: 158.9 kB / 0.5986 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.215e-05/0.1301, allocations: 154.5 kB / 0.5987 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.649e-05/0.1302, allocations: 105 kB / 0.5988 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.1302, allocations: 79.22 kB / 0.5989 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.1303, allocations: 154.6 kB / 0.599 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.694e-05/0.1303, allocations: 150.6 kB / 0.5992 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.1304, allocations: 158.5 kB / 0.5993 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.1307, allocations: 461.9 kB / 0.5998 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.732e-05/0.1308, allocations: 169.1 kB / 0.5999 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.1308, allocations: 80.14 kB / 0.6 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1308, allocations: 75.28 kB / 0.6001 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1309, allocations: 117.8 kB / 0.6002 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1309, allocations: 0 / 0.6002 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.469e-05/0.1309, allocations: 25.7 kB / 0.6002 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.131, allocations: 126.7 kB / 0.6003 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.1311, allocations: 105.8 kB / 0.6004 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1311, allocations: 29.7 kB / 0.6005 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.1312, allocations: 91.98 kB / 0.6005 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.1312, allocations: 0 / 0.6005 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.1312, allocations: 25.7 kB / 0.6006 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1313, allocations: 314.8 kB / 0.6009 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.1314, allocations: 0 / 0.6009 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.1314, allocations: 30.56 kB / 0.6009 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.1315, allocations: 22.52 kB / 0.6009 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1315, allocations: 4 kB / 0.6009 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001282/0.1316, allocations: 53.56 kB / 0.601 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1316, allocations: 8 kB / 0.601 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1316, allocations: 0 / 0.601 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1316, allocations: 0 / 0.601 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.1317, allocations: 4 kB / 0.601 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1317, allocations: 4 kB / 0.601 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1319, allocations: 12.17 kB / 0.601 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1319, allocations: 8.094 kB / 0.601 GB, free: 2.422 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.132, allocations: 193 kB / 0.6012 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.1321, allocations: 101 kB / 0.6013 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.1321, allocations: 116.1 kB / 0.6014 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.054e-05/0.1322, allocations: 184.2 kB / 0.6016 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.282e-05/0.1323, allocations: 176.3 kB / 0.6017 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.934e-05/0.1323, allocations: 184.2 kB / 0.6019 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.1326, allocations: 409.2 kB / 0.6023 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.317e-05/0.1326, allocations: 104.9 kB / 0.6024 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.1327, allocations: 105 kB / 0.6025 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.449e-05/0.1327, allocations: 180.3 kB / 0.6027 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.1328, allocations: 188.2 kB / 0.6029 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.845e-05/0.1329, allocations: 176.3 kB / 0.603 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.716e-05/0.1329, allocations: 184.1 kB / 0.6032 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1788/0.3118, allocations: 304.6 kB / 0.6035 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.3118, allocations: 189.5 kB / 0.6037 GB, free: 44.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.3119, allocations: 178.5 kB / 0.6038 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.3119, allocations: 105.3 kB / 0.6039 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.312, allocations: 179.6 kB / 0.6041 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.312, allocations: 110.1 kB / 0.6042 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.963e-05/0.312, allocations: 84.27 kB / 0.6043 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.312, allocations: 2.188 kB / 0.6043 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003053/0.3123, allocations: 50.83 kB / 0.6044 GB, free: 43.5 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 (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.0005485/0.3129, allocations: 0.9632 MB / 0.6053 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.733e-05/0.313, allocations: 14.44 kB / 0.6053 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.313, allocations: 0.8125 kB / 0.6053 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.313, allocations: 0.5625 kB / 0.6053 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.3132, allocations: 457.4 kB / 0.6057 GB, free: 42.25 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.0007035/0.3139, allocations: 1.351 MB / 0.6071 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.315e-05/0.314, allocations: 0.6766 MB / 0.6077 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.314, allocations: 7.656 kB / 0.6077 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.3141, allocations: 11 kB / 0.6077 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.3141, allocations: 0 / 0.6077 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2927/0.6068, allocations: 2.644 MB / 0.6103 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.233/6.84, allocations: 12.17 kB / 0.6103 GB, free: 39.87 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)