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.001038/0.001038, allocations: 107 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.0009962/0.0009962, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.27/1.27, allocations: 222.9 MB / 241 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.7256/0.7256, allocations: 122.8 MB / 414 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 64.64 kB / 0.568 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1154, allocations: 77.92 MB / 0.6441 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002171/0.1177, allocations: 1.256 MB / 0.6453 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.1197, allocations: 1.446 MB / 0.6467 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.1197, allocations: 0 / 0.6467 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.1197, allocations: 0 / 0.6467 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.1199, allocations: 15.92 kB / 0.6467 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.1206, allocations: 219.5 kB / 0.6469 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.481e-05/0.1206, allocations: 19.94 kB / 0.6469 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.1207, allocations: 7.984 kB / 0.647 GB, free: 6.586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.1208, allocations: 19.92 kB / 0.647 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.1209, allocations: 15.92 kB / 0.647 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.1209, allocations: 0 / 0.647 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.1212, allocations: 167.8 kB / 0.6472 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.1212, allocations: 7.984 kB / 0.6472 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.1212, allocations: 15.92 kB / 0.6472 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.1215, allocations: 139.9 kB / 0.6473 GB, free: 6.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1215, allocations: 7.938 kB / 0.6473 GB, free: 6.219 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1215, allocations: 3.938 kB / 0.6473 GB, free: 6.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1215, allocations: 0 / 0.6473 GB, free: 6.215 MB / 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.0003346/0.1219, allocations: 367.1 kB / 0.6477 GB, free: 5.809 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1219, allocations: 8.625 kB / 0.6477 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.1219, allocations: 106 kB / 0.6478 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.122, allocations: 84.22 kB / 0.6479 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1221, allocations: 243.7 kB / 0.6481 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.1222, allocations: 158.9 kB / 0.6482 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.1223, allocations: 158.5 kB / 0.6484 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.985e-05/0.1223, allocations: 101 kB / 0.6485 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.1223, allocations: 75.28 kB / 0.6486 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.1224, allocations: 154.6 kB / 0.6487 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.1224, allocations: 154.6 kB / 0.6489 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.1225, allocations: 150.6 kB / 0.649 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.1227, allocations: 465.8 kB / 0.6494 GB, free: 3.879 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.303e-05/0.1228, allocations: 177.1 kB / 0.6496 GB, free: 3.695 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.1229, allocations: 84.08 kB / 0.6497 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1229, allocations: 75.28 kB / 0.6498 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.1229, allocations: 113.8 kB / 0.6499 GB, free: 3.414 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.123, allocations: 0 / 0.6499 GB, free: 3.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.46e-05/0.123, allocations: 33.59 kB / 0.6499 GB, free: 3.375 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.1231, allocations: 134.7 kB / 0.65 GB, free: 3.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.1232, allocations: 105.8 kB / 0.6501 GB, free: 3.117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1232, allocations: 25.7 kB / 0.6502 GB, free: 3.086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.1232, allocations: 84.14 kB / 0.6502 GB, free: 3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.1233, allocations: 0 / 0.6502 GB, free: 3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.1233, allocations: 17.72 kB / 0.6503 GB, free: 2.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.1234, allocations: 314.8 kB / 0.6506 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.1234, allocations: 4 kB / 0.6506 GB, free: 2.656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-05/0.1235, allocations: 30.58 kB / 0.6506 GB, free: 2.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.1235, allocations: 26.5 kB / 0.6506 GB, free: 2.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1235, allocations: 0 / 0.6506 GB, free: 2.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001161/0.1236, allocations: 49.58 kB / 0.6507 GB, free: 2.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1237, allocations: 13.19 kB / 0.6507 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1237, allocations: 3.984 kB / 0.6507 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1237, allocations: 0 / 0.6507 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.77e-05/0.1237, allocations: 4 kB / 0.6507 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1238, allocations: 4 kB / 0.6507 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.1239, allocations: 8 kB / 0.6507 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1239, allocations: 3.984 kB / 0.6507 GB, free: 2.492 MB / 494.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 8.807e-05/0.124, allocations: 189.1 kB / 0.6509 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.1241, allocations: 108.9 kB / 0.651 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.1241, allocations: 112 kB / 0.6511 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/0.1242, allocations: 184.2 kB / 0.6513 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.033e-05/0.1242, allocations: 180.4 kB / 0.6514 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.203e-05/0.1243, allocations: 180.2 kB / 0.6516 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.1245, allocations: 417.1 kB / 0.652 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-05/0.1245, allocations: 101 kB / 0.6521 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.1246, allocations: 104.9 kB / 0.6522 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-05/0.1246, allocations: 180.5 kB / 0.6524 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.1247, allocations: 176.3 kB / 0.6525 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.973e-05/0.1248, allocations: 192.2 kB / 0.6527 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.341e-05/0.1248, allocations: 188.2 kB / 0.6529 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.1249, allocations: 307.7 kB / 0.6532 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.125, allocations: 186 kB / 0.6534 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/0.1251, allocations: 184.2 kB / 0.6536 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.1252, allocations: 101 kB / 0.6536 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.1252, allocations: 184.2 kB / 0.6538 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.1253, allocations: 105 kB / 0.6539 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.1253, allocations: 83.27 kB / 0.654 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1253, allocations: 0 / 0.654 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003099/0.1256, allocations: 51.81 kB / 0.6541 GB, free: 14.83 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.0007173/0.1263, allocations: 0.9743 MB / 0.655 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.143e-05/0.1264, allocations: 8 kB / 0.655 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1264, allocations: 0 / 0.655 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.1265, allocations: 3.938 kB / 0.655 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1268, allocations: 461.2 kB / 0.6555 GB, free: 13.4 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.001036/0.1278, allocations: 1.353 MB / 0.6568 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.128, allocations: 0.6807 MB / 0.6574 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.1281, allocations: 0 / 0.6574 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.1281, allocations: 15.44 kB / 0.6575 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1281, allocations: 0 / 0.6575 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3082/0.4363, allocations: 2.625 MB / 0.66 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.235/7.671, allocations: 9.922 kB / 0.66 GB, free: 8.75 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)