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.001003/0.001003, allocations: 98.22 kB / 16.4 MB, free: 6.504 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.0009689/0.0009689, allocations: 196 kB / 17.34 MB, free: 5.742 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.253/1.253, 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.7188/0.7188, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 64 kB / 0.568 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.114, allocations: 77.94 MB / 0.6441 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001952/0.116, allocations: 1.255 MB / 0.6453 GB, free: 8.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1178, allocations: 1.438 MB / 0.6467 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.1178, allocations: 3.938 kB / 0.6467 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.1178, allocations: 0 / 0.6467 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.118, allocations: 15.92 kB / 0.6467 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.1185, allocations: 214.3 kB / 0.6469 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.1186, allocations: 27.91 kB / 0.647 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.864e-05/0.1186, allocations: 0 / 0.647 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.1187, allocations: 15.92 kB / 0.647 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/0.1188, allocations: 19.92 kB / 0.647 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.1188, allocations: 0 / 0.647 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.1191, allocations: 171.8 kB / 0.6471 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.1191, allocations: 3.984 kB / 0.6472 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.1191, allocations: 11.94 kB / 0.6472 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.1193, allocations: 143.8 kB / 0.6473 GB, free: 6.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1194, allocations: 0 / 0.6473 GB, free: 6.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1194, allocations: 0 / 0.6473 GB, free: 6.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.1194, allocations: 0 / 0.6473 GB, free: 6.18 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.0003167/0.1197, allocations: 370.2 kB / 0.6477 GB, free: 5.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1197, allocations: 8.625 kB / 0.6477 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/0.1198, allocations: 114 kB / 0.6478 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.1199, allocations: 84.22 kB / 0.6479 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.12, allocations: 239.6 kB / 0.6481 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.12, allocations: 150.9 kB / 0.6482 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.1201, allocations: 158.5 kB / 0.6484 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.158e-05/0.1201, allocations: 101 kB / 0.6485 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.1202, allocations: 79.28 kB / 0.6485 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.1202, allocations: 154.6 kB / 0.6487 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.1203, allocations: 154.6 kB / 0.6488 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.1203, allocations: 150.6 kB / 0.649 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.1206, allocations: 465.8 kB / 0.6494 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.514e-05/0.1206, allocations: 177.1 kB / 0.6496 GB, free: 3.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.1207, allocations: 80.14 kB / 0.6497 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1207, allocations: 79.28 kB / 0.6497 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.1207, allocations: 109.8 kB / 0.6499 GB, free: 3.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.1207, allocations: 3.938 kB / 0.6499 GB, free: 3.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.767e-05/0.1208, allocations: 33.55 kB / 0.6499 GB, free: 3.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.1209, allocations: 130.7 kB / 0.65 GB, free: 3.199 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.625e-05/0.121, allocations: 106.4 kB / 0.6501 GB, free: 3.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.121, allocations: 25.7 kB / 0.6501 GB, free: 3.055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.121, allocations: 88.14 kB / 0.6502 GB, free: 2.965 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.121, allocations: 0 / 0.6502 GB, free: 2.965 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.1211, allocations: 17.7 kB / 0.6502 GB, free: 2.941 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.1212, allocations: 314.8 kB / 0.6505 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.1212, allocations: 4 kB / 0.6505 GB, free: 2.621 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.1212, allocations: 26.56 kB / 0.6506 GB, free: 2.586 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.1213, allocations: 30.52 kB / 0.6506 GB, free: 2.547 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1213, allocations: 0 / 0.6506 GB, free: 2.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001122/0.1214, allocations: 53.56 kB / 0.6507 GB, free: 2.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1214, allocations: 12.09 kB / 0.6507 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1214, allocations: 0 / 0.6507 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.1214, allocations: 0 / 0.6507 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.1215, allocations: 4 kB / 0.6507 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1215, allocations: 256 / 0.6507 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.1216, allocations: 16.14 kB / 0.6507 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1217, allocations: 8 kB / 0.6507 GB, free: 2.449 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.456e-05/0.1218, allocations: 197 kB / 0.6509 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.1218, allocations: 108.9 kB / 0.651 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.1219, allocations: 108.1 kB / 0.6511 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.404e-05/0.1219, allocations: 184.2 kB / 0.6513 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.902e-05/0.122, allocations: 176.3 kB / 0.6514 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.844e-05/0.122, allocations: 180.2 kB / 0.6516 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.1222, allocations: 417.1 kB / 0.652 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/0.1222, allocations: 101 kB / 0.6521 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.1223, allocations: 104.9 kB / 0.6522 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.534e-05/0.1223, allocations: 180.3 kB / 0.6524 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.1224, allocations: 188.2 kB / 0.6525 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-05/0.1224, allocations: 184.3 kB / 0.6527 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-05/0.1225, allocations: 180.3 kB / 0.6529 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.1226, allocations: 307.7 kB / 0.6532 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.1227, allocations: 194 kB / 0.6534 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.1228, allocations: 176.3 kB / 0.6535 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.1228, allocations: 101 kB / 0.6536 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.1229, allocations: 184.2 kB / 0.6538 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.1229, allocations: 105 kB / 0.6539 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.987e-05/0.123, allocations: 87.27 kB / 0.654 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.123, allocations: 0 / 0.654 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002903/0.1233, allocations: 51.98 kB / 0.654 GB, free: 14.79 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.000669/0.1239, allocations: 0.9625 MB / 0.655 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.507e-05/0.124, allocations: 11.98 kB / 0.655 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.124, allocations: 0 / 0.655 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-06/0.124, allocations: 15.81 kB / 0.655 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1244, allocations: 460.6 kB / 0.6555 GB, free: 13.35 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.0009038/0.1253, allocations: 1.342 MB / 0.6568 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.1255, allocations: 0.6768 MB / 0.6574 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.1255, allocations: 4 kB / 0.6574 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.1255, allocations: 11.42 kB / 0.6574 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1255, allocations: 0 / 0.6574 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 19.47/19.6, allocations: 2.641 MB / 0.66 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/26.87, allocations: 16.88 kB / 0.66 GB, free: 8.695 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)