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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.008078/0.008078, allocations: 101 kB / 15.73 MB, free: 6.445 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.002061/0.002061, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.031/1.031, allocations: 143.3 MB / 433.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 0.5953 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4207, allocations: 82.03 MB / 0.6754 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002092/0.4228, allocations: 1.259 MB / 0.6767 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002299/0.4251, allocations: 1.45 MB / 0.6781 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.4252, allocations: 0 / 0.6781 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.4252, allocations: 5.094 kB / 0.6781 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.4254, allocations: 11.2 kB / 0.6781 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.4261, allocations: 212.9 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.851e-05/0.4262, allocations: 32.53 kB / 0.6783 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.4262, allocations: 1.062 kB / 0.6783 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.4263, allocations: 20.84 kB / 0.6783 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.4264, allocations: 16.28 kB / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.4264, allocations: 1.406 kB / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.4267, allocations: 163 kB / 0.6785 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.4268, allocations: 9 kB / 0.6785 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.4268, allocations: 12.56 kB / 0.6785 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.4271, allocations: 147.2 kB / 0.6787 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4271, allocations: 0 / 0.6787 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4271, allocations: 0 / 0.6787 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4271, allocations: 1.156 kB / 0.6787 GB, free: 14.38 MB / 0.5137 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.0004279/0.4276, allocations: 377.2 kB / 0.679 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4276, allocations: 10.44 kB / 0.679 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.4277, allocations: 106 kB / 0.6791 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.514e-05/0.4278, allocations: 81.52 kB / 0.6792 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.4279, allocations: 237.9 kB / 0.6795 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.297e-05/0.428, allocations: 156.1 kB / 0.6796 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.4281, allocations: 156.9 kB / 0.6797 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.817e-05/0.4282, allocations: 110 kB / 0.6799 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.4282, allocations: 75.28 kB / 0.6799 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.4283, allocations: 151.7 kB / 0.6801 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.531e-05/0.4284, allocations: 150.6 kB / 0.6802 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.566e-05/0.4285, allocations: 151.6 kB / 0.6804 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.4288, allocations: 462.4 kB / 0.6808 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.888e-05/0.4289, allocations: 174.1 kB / 0.681 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.429, allocations: 80.14 kB / 0.681 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.429, allocations: 76.3 kB / 0.6811 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.4291, allocations: 113.8 kB / 0.6812 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4291, allocations: 1 kB / 0.6812 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.109e-05/0.4292, allocations: 27.89 kB / 0.6813 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.4293, allocations: 126.7 kB / 0.6814 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.4294, allocations: 113 kB / 0.6815 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.4294, allocations: 31.02 kB / 0.6815 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.4295, allocations: 85.39 kB / 0.6816 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/0.4295, allocations: 3.984 kB / 0.6816 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.4296, allocations: 27.7 kB / 0.6816 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4297, allocations: 312 kB / 0.6819 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.4297, allocations: 1.219 kB / 0.6819 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.4298, allocations: 29.75 kB / 0.6819 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.539e-05/0.4299, allocations: 27.64 kB / 0.682 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4299, allocations: 256 / 0.682 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001503/0.43, allocations: 54.8 kB / 0.682 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4301, allocations: 5.594 kB / 0.682 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4301, allocations: 8.812 kB / 0.682 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.4301, allocations: 5.484 kB / 0.682 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.4302, allocations: 4 kB / 0.682 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4302, allocations: 1.281 kB / 0.6821 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.4304, allocations: 16.92 kB / 0.6821 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.4304, allocations: 6.344 kB / 0.6821 GB, free: 10.75 MB / 0.5137 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.0001155/0.4305, allocations: 187.3 kB / 0.6823 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.4306, allocations: 106.1 kB / 0.6824 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.4307, allocations: 109.2 kB / 0.6825 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.737e-05/0.4307, allocations: 185.4 kB / 0.6826 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.86e-05/0.4308, allocations: 185.3 kB / 0.6828 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.53e-05/0.4309, allocations: 177.5 kB / 0.683 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.4312, allocations: 411.3 kB / 0.6834 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.209e-05/0.4312, allocations: 102.2 kB / 0.6835 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.4313, allocations: 101.9 kB / 0.6836 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.261e-05/0.4314, allocations: 181.3 kB / 0.6837 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.411e-05/0.4315, allocations: 181.4 kB / 0.6839 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-05/0.4315, allocations: 185.4 kB / 0.6841 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.488e-05/0.4316, allocations: 177.3 kB / 0.6843 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.4318, allocations: 315.1 kB / 0.6846 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.4319, allocations: 187.1 kB / 0.6847 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-05/0.432, allocations: 181.3 kB / 0.6849 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.4321, allocations: 105.9 kB / 0.685 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.4322, allocations: 177.3 kB / 0.6852 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.4322, allocations: 106.1 kB / 0.6853 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.818e-05/0.4323, allocations: 83.89 kB / 0.6854 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4323, allocations: 7.938 kB / 0.6854 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003498/0.4326, allocations: 55.08 kB / 0.6854 GB, free: 7.16 MB / 0.5137 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.0009655/0.4336, allocations: 0.9701 MB / 0.6864 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.905e-05/0.4337, allocations: 17.83 kB / 0.6864 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4337, allocations: 0 / 0.6864 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.4337, allocations: 1.125 kB / 0.6864 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.4341, allocations: 454.6 kB / 0.6868 GB, free: 5.82 MB / 0.5137 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.00126/0.4354, allocations: 1.354 MB / 0.6881 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.4357, allocations: 0.6712 MB / 0.6888 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.4357, allocations: 2.094 kB / 0.6888 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.4358, allocations: 13.59 kB / 0.6888 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.4358, allocations: 1.219 kB / 0.6888 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6043/1.04, allocations: 2.674 MB / 0.6914 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/9.072, allocations: 3.094 kB / 0.6914 GB, free: 2.332 MB / 0.5137 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)