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.001314/0.001314, allocations: 105.3 kB / 16.41 MB, free: 6.488 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.001239/0.001239, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8123/0.8123, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 72.33 kB / 0.5736 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1297, allocations: 78.86 MB / 0.6506 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002275/0.132, allocations: 1.254 MB / 0.6518 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.1344, allocations: 1.446 MB / 0.6532 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.101e-05/0.1344, allocations: 4 kB / 0.6532 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.1345, allocations: 3.938 kB / 0.6532 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1346, allocations: 15.92 kB / 0.6532 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.1352, allocations: 212.4 kB / 0.6534 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.1353, allocations: 19.94 kB / 0.6534 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.1354, allocations: 11.98 kB / 0.6535 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.1354, allocations: 15.98 kB / 0.6535 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1355, allocations: 11.92 kB / 0.6535 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1356, allocations: 4 kB / 0.6535 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.1359, allocations: 163.8 kB / 0.6536 GB, free: 428 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.1359, allocations: 4 kB / 0.6536 GB, free: 424 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.1359, allocations: 23.91 kB / 0.6537 GB, free: 400 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.1362, allocations: 143.8 kB / 0.6538 GB, free: 256 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1362, allocations: 0 / 0.6538 GB, free: 256 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1362, allocations: 0 / 0.6538 GB, free: 256 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1362, allocations: 4 kB / 0.6538 GB, free: 252 kB / 494.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.0003972/0.1366, allocations: 367.1 kB / 0.6542 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1367, allocations: 12.03 kB / 0.6542 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.802e-05/0.1367, allocations: 106 kB / 0.6543 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.1368, allocations: 76.22 kB / 0.6543 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.137, allocations: 251.7 kB / 0.6546 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/0.1371, allocations: 150.9 kB / 0.6547 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.101e-05/0.1372, allocations: 162.5 kB / 0.6549 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.822e-05/0.1372, allocations: 104.9 kB / 0.655 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.1373, allocations: 79.22 kB / 0.6551 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.609e-05/0.1374, allocations: 150.6 kB / 0.6552 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.681e-05/0.1374, allocations: 154.6 kB / 0.6554 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.859e-05/0.1375, allocations: 150.6 kB / 0.6555 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.1378, allocations: 457.9 kB / 0.6559 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.138, allocations: 189 kB / 0.6561 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.138, allocations: 84.14 kB / 0.6562 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.138, allocations: 75.28 kB / 0.6563 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.1381, allocations: 105.8 kB / 0.6564 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1381, allocations: 0 / 0.6564 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.946e-05/0.1382, allocations: 33.69 kB / 0.6564 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.1383, allocations: 126.7 kB / 0.6565 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.935e-05/0.1384, allocations: 105.9 kB / 0.6566 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1384, allocations: 25.7 kB / 0.6566 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.1385, allocations: 96.02 kB / 0.6567 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.1385, allocations: 0 / 0.6567 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.1385, allocations: 21.72 kB / 0.6568 GB, free: 13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1387, allocations: 310.8 kB / 0.6571 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.1387, allocations: 7.984 kB / 0.6571 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.1387, allocations: 26.58 kB / 0.6571 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.062e-05/0.1388, allocations: 18.58 kB / 0.6571 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.1388, allocations: 7.938 kB / 0.6571 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001252/0.1389, allocations: 53.56 kB / 0.6572 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1389, allocations: 5.719 kB / 0.6572 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.139, allocations: 4.094 kB / 0.6572 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.139, allocations: 4 kB / 0.6572 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.139, allocations: 7.984 kB / 0.6572 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.139, allocations: 0 / 0.6572 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.1392, allocations: 4 kB / 0.6572 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1392, allocations: 8 kB / 0.6572 GB, free: 12.52 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.0001177/0.1393, allocations: 193 kB / 0.6574 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.1394, allocations: 105.1 kB / 0.6575 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.1395, allocations: 112 kB / 0.6576 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-05/0.1396, allocations: 176.3 kB / 0.6578 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.059e-05/0.1397, allocations: 188.2 kB / 0.6579 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.164e-05/0.1397, allocations: 180.2 kB / 0.6581 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.14, allocations: 405.1 kB / 0.6585 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.666e-05/0.1401, allocations: 113 kB / 0.6586 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.1401, allocations: 101.2 kB / 0.6587 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-05/0.1402, allocations: 180.2 kB / 0.6589 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.709e-05/0.1403, allocations: 188.2 kB / 0.659 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.424e-05/0.1404, allocations: 184.2 kB / 0.6592 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.03e-05/0.1405, allocations: 184.2 kB / 0.6594 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1407, allocations: 315.6 kB / 0.6597 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.1407, allocations: 178.1 kB / 0.6599 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-05/0.1408, allocations: 184.2 kB / 0.66 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.1409, allocations: 105 kB / 0.6601 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.141, allocations: 184.3 kB / 0.6603 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.1411, allocations: 104.9 kB / 0.6604 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.601e-05/0.1411, allocations: 79.28 kB / 0.6605 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1411, allocations: 0 / 0.6605 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003264/0.1415, allocations: 55.8 kB / 0.6606 GB, free: 8.859 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.0009565/0.1424, allocations: 0.9742 MB / 0.6615 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.706e-05/0.1425, allocations: 15.94 kB / 0.6615 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1425, allocations: 0 / 0.6615 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1425, allocations: 0 / 0.6615 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1429, allocations: 455.9 kB / 0.662 GB, free: 7.43 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.001177/0.1441, allocations: 1.349 MB / 0.6633 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1444, allocations: 0.6729 MB / 0.6639 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.1445, allocations: 11.94 kB / 0.6639 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.1445, allocations: 11.44 kB / 0.664 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1445, allocations: 0 / 0.664 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4199/0.5644, allocations: 2.625 MB / 0.6665 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.585, allocations: 3.938 kB / 0.6665 GB, free: 2.789 MB / 0.4981 GB (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)