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.0007161/0.0007162, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007308/0.0007308, allocations: 179.9 kB / 16.92 MB, free: 6.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.213/1.213, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6319/0.6319, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002757, allocations: 8 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 77.53 MB / 0.5601 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001144/0.1235, allocations: 0.9887 MB / 0.561 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.1254, allocations: 1.409 MB / 0.5624 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.1254, allocations: 0 / 0.5624 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.1254, allocations: 3.984 kB / 0.5624 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.1256, allocations: 7.938 kB / 0.5624 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.1261, allocations: 182.8 kB / 0.5626 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.866e-05/0.1262, allocations: 27.86 kB / 0.5626 GB, free: 6.289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.1262, allocations: 0 / 0.5626 GB, free: 6.289 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.1263, allocations: 19.97 kB / 0.5626 GB, free: 6.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1264, allocations: 8 kB / 0.5626 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.1264, allocations: 0 / 0.5626 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.1266, allocations: 151.8 kB / 0.5628 GB, free: 6.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.1267, allocations: 11.94 kB / 0.5628 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.1267, allocations: 33.69 kB / 0.5628 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1269, allocations: 151.7 kB / 0.563 GB, free: 5.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1269, allocations: 4 kB / 0.563 GB, free: 5.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1269, allocations: 0 / 0.563 GB, free: 5.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.127, allocations: 0 / 0.563 GB, free: 5.91 MB / 430.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.0003145/0.1273, allocations: 363.7 kB / 0.5633 GB, free: 5.508 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1273, allocations: 12.03 kB / 0.5633 GB, free: 5.496 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.1274, allocations: 106 kB / 0.5634 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.1274, allocations: 84.2 kB / 0.5635 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1276, allocations: 239.7 kB / 0.5637 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/0.1276, allocations: 154.9 kB / 0.5639 GB, free: 4.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.1277, allocations: 162.5 kB / 0.564 GB, free: 4.715 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.283e-05/0.1277, allocations: 104.9 kB / 0.5641 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.1278, allocations: 79.22 kB / 0.5642 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.1278, allocations: 154.6 kB / 0.5644 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/0.1279, allocations: 150.6 kB / 0.5645 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/0.1279, allocations: 150.6 kB / 0.5646 GB, free: 4.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.1282, allocations: 461.9 kB / 0.5651 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.251e-05/0.1283, allocations: 177 kB / 0.5653 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.1283, allocations: 80.14 kB / 0.5653 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1283, allocations: 75.28 kB / 0.5654 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.1284, allocations: 105.8 kB / 0.5655 GB, free: 3.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.1284, allocations: 0 / 0.5655 GB, free: 3.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.531e-05/0.1284, allocations: 29.7 kB / 0.5655 GB, free: 3.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1285, allocations: 130.7 kB / 0.5657 GB, free: 2.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.746e-05/0.1286, allocations: 105.8 kB / 0.5658 GB, free: 2.836 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1286, allocations: 29.7 kB / 0.5658 GB, free: 2.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.1286, allocations: 84.08 kB / 0.5659 GB, free: 2.715 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.1286, allocations: 0 / 0.5659 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.1287, allocations: 13.72 kB / 0.5659 GB, free: 2.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.711e-05/0.1288, allocations: 314.8 kB / 0.5662 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.1288, allocations: 7.922 kB / 0.5662 GB, free: 2.371 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.64e-05/0.1288, allocations: 26.58 kB / 0.5662 GB, free: 2.336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/0.1289, allocations: 30.5 kB / 0.5662 GB, free: 2.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1289, allocations: 0 / 0.5662 GB, free: 2.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001135/0.129, allocations: 57.48 kB / 0.5663 GB, free: 2.234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.129, allocations: 8.094 kB / 0.5663 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.129, allocations: 0 / 0.5663 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.129, allocations: 4 kB / 0.5663 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.1291, allocations: 7.984 kB / 0.5663 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1291, allocations: 0 / 0.5663 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1293, allocations: 4 kB / 0.5663 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1293, allocations: 4 kB / 0.5663 GB, free: 2.207 MB / 430.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 9.135e-05/0.1294, allocations: 193 kB / 0.5665 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.1295, allocations: 116.9 kB / 0.5666 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.1295, allocations: 104.1 kB / 0.5667 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.043e-05/0.1295, allocations: 176.3 kB / 0.5669 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-05/0.1296, allocations: 184.3 kB / 0.5671 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.567e-05/0.1297, allocations: 184.2 kB / 0.5672 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.1299, allocations: 409.1 kB / 0.5676 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.839e-05/0.1299, allocations: 109 kB / 0.5677 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.1299, allocations: 105 kB / 0.5678 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.665e-05/0.13, allocations: 180.2 kB / 0.568 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.818e-05/0.1301, allocations: 180.3 kB / 0.5682 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.741e-05/0.1301, allocations: 184.2 kB / 0.5684 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.453e-05/0.1302, allocations: 184.2 kB / 0.5685 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.1303, allocations: 315.9 kB / 0.5688 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.1304, allocations: 178.1 kB / 0.569 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.1305, allocations: 188.4 kB / 0.5692 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.1306, allocations: 109 kB / 0.5693 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.1306, allocations: 176.3 kB / 0.5695 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.1307, allocations: 104.9 kB / 0.5696 GB, free: 14.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.004e-05/0.1307, allocations: 87.27 kB / 0.5696 GB, free: 14.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1307, allocations: 0 / 0.5696 GB, free: 14.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.131, allocations: 55.94 kB / 0.5697 GB, free: 14.54 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.0007404/0.1318, allocations: 0.9662 MB / 0.5706 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.151e-05/0.1318, allocations: 11.94 kB / 0.5706 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1319, allocations: 0 / 0.5706 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.1319, allocations: 0 / 0.5706 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1322, allocations: 0.5226 MB / 0.5712 GB, free: 13.05 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.001049/0.1333, allocations: 1.368 MB / 0.5725 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1335, allocations: 0.6731 MB / 0.5731 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.322e-05/0.1335, allocations: 3.938 kB / 0.5732 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.1336, allocations: 11.44 kB / 0.5732 GB, free: 10.88 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1336, allocations: 0 / 0.5732 GB, free: 10.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2414/0.3749, allocations: 2.384 MB / 0.5755 GB, free: 8.68 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/0.3752, allocations: 279.3 kB / 0.5758 GB, free: 8.316 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/1.984, allocations: 0 / 0.5758 GB, free: 8.316 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 & /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)