Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_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.001104/0.001104, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.00105/0.00105, allocations: 192 kB / 17.2 MB, free: 5.598 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.238/1.238, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.713/0.713, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3063, allocations: 77.93 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001976/0.3083, allocations: 1.261 MB / 0.5685 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.31, allocations: 1.433 MB / 0.5699 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.31, allocations: 1.281 kB / 0.5699 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.31, allocations: 4.562 kB / 0.5699 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.3102, allocations: 13.83 kB / 0.5699 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.3107, allocations: 218.3 kB / 0.5701 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.721e-05/0.3108, allocations: 27.66 kB / 0.5702 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.3108, allocations: 2 kB / 0.5702 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.69e-05/0.3109, allocations: 18.3 kB / 0.5702 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.953e-05/0.311, allocations: 8.438 kB / 0.5702 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.311, allocations: 5.125 kB / 0.5702 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.3112, allocations: 153.3 kB / 0.5704 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.3112, allocations: 7.016 kB / 0.5704 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.3113, allocations: 10.56 kB / 0.5704 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3115, allocations: 142.9 kB / 0.5705 GB, free: 30.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3115, allocations: 2.938 kB / 0.5705 GB, free: 30.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.3115, allocations: 0 / 0.5705 GB, free: 30.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.3115, allocations: 0 / 0.5705 GB, free: 30.62 MB / 446.1 MB 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.0002682/0.3118, allocations: 376.8 kB / 0.5709 GB, free: 30.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3118, allocations: 10.56 kB / 0.5709 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.484e-05/0.3118, allocations: 110.7 kB / 0.571 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.3119, allocations: 78.5 kB / 0.5711 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.567e-05/0.312, allocations: 240.3 kB / 0.5713 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.312, allocations: 152.6 kB / 0.5714 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.3121, allocations: 158.3 kB / 0.5716 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.518e-05/0.3121, allocations: 106.3 kB / 0.5717 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3121, allocations: 76.81 kB / 0.5718 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.3121, allocations: 159.9 kB / 0.5719 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.3122, allocations: 153.9 kB / 0.5721 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.3122, allocations: 151.2 kB / 0.5722 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.3124, allocations: 456.4 kB / 0.5726 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.736e-05/0.3124, allocations: 175 kB / 0.5728 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.3124, allocations: 80.77 kB / 0.5729 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.3124, allocations: 80.78 kB / 0.573 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.3125, allocations: 109.2 kB / 0.5731 GB, free: 27.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3125, allocations: 0 / 0.5731 GB, free: 27.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.985e-05/0.3125, allocations: 33.38 kB / 0.5731 GB, free: 27.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.3126, allocations: 127.6 kB / 0.5732 GB, free: 27.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.3126, allocations: 113.2 kB / 0.5733 GB, free: 27.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.3127, allocations: 26.7 kB / 0.5733 GB, free: 27.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.181e-05/0.3127, allocations: 86.59 kB / 0.5734 GB, free: 27.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-06/0.3127, allocations: 1.719 kB / 0.5734 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.3127, allocations: 16.81 kB / 0.5734 GB, free: 27.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.3128, allocations: 322.9 kB / 0.5738 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.3128, allocations: 5.938 kB / 0.5738 GB, free: 27.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.3128, allocations: 25.02 kB / 0.5738 GB, free: 27.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.3129, allocations: 31.3 kB / 0.5738 GB, free: 27.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3129, allocations: 0 / 0.5738 GB, free: 27.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001041/0.313, allocations: 54.41 kB / 0.5739 GB, free: 27.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.313, allocations: 8.578 kB / 0.5739 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.313, allocations: 2.344 kB / 0.5739 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.313, allocations: 1.062 kB / 0.5739 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.3131, allocations: 6.141 kB / 0.5739 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3131, allocations: 1.625 kB / 0.5739 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.3132, allocations: 7.328 kB / 0.5739 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3133, allocations: 3.266 kB / 0.5739 GB, free: 27.07 MB / 446.1 MB 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 5.252e-05/0.3133, allocations: 193.8 kB / 0.5741 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.3134, allocations: 108.2 kB / 0.5742 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.3134, allocations: 105.9 kB / 0.5743 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.3134, allocations: 179.3 kB / 0.5745 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.388e-05/0.3134, allocations: 183.1 kB / 0.5746 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/0.3135, allocations: 183.6 kB / 0.5748 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.3136, allocations: 410.9 kB / 0.5752 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.3136, allocations: 105.3 kB / 0.5753 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.098e-05/0.3136, allocations: 101 kB / 0.5754 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.27e-05/0.3136, allocations: 182.6 kB / 0.5756 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.3137, allocations: 183.8 kB / 0.5757 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.981e-05/0.3137, allocations: 181.2 kB / 0.5759 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.297e-05/0.3137, allocations: 180 kB / 0.5761 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.502e-05/0.3138, allocations: 314.4 kB / 0.5764 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.3138, allocations: 189.4 kB / 0.5766 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.3139, allocations: 188.1 kB / 0.5767 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.3139, allocations: 101.9 kB / 0.5768 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.314, allocations: 181.3 kB / 0.577 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.314, allocations: 106.9 kB / 0.5771 GB, free: 23.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.509e-05/0.314, allocations: 85.16 kB / 0.5772 GB, free: 23.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.314, allocations: 0 / 0.5772 GB, free: 23.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000291/0.3143, allocations: 58.56 kB / 0.5773 GB, free: 23.5 MB / 446.1 MB 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.0005405/0.3149, allocations: 0.9645 MB / 0.5782 GB, free: 22.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.129e-05/0.3149, allocations: 11.41 kB / 0.5782 GB, free: 22.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3149, allocations: 0 / 0.5782 GB, free: 22.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.315, allocations: 1.312 kB / 0.5782 GB, free: 22.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.3152, allocations: 459.2 kB / 0.5786 GB, free: 22.21 MB / 446.1 MB 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.000697/0.3159, allocations: 1.359 MB / 0.58 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.008e-05/0.316, allocations: 0.6732 MB / 0.5806 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.091e-05/0.316, allocations: 3.078 kB / 0.5806 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.3161, allocations: 10.67 kB / 0.5806 GB, free: 20.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3161, allocations: 0 / 0.5806 GB, free: 20.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2329/0.549, allocations: 2.597 MB / 0.5832 GB, free: 19.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/7.34, allocations: 15.64 kB / 0.5832 GB, free: 19.71 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)