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.0009316/0.0009316, allocations: 92.7 kB / 15.7 MB, free: 472 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.0009775/0.0009775, allocations: 166.8 kB / 16.58 MB, free: 6.852 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.458/1.458, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7127/0.7127, allocations: 113.7 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002977, allocations: 8.219 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001351/0.1449, allocations: 0.982 MB / 0.5579 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.147, allocations: 1.345 MB / 0.5592 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.147, allocations: 0 / 0.5592 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.147, allocations: 0 / 0.5592 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.1472, allocations: 19.92 kB / 0.5592 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.1478, allocations: 179.5 kB / 0.5594 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.475e-05/0.1479, allocations: 15.94 kB / 0.5594 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.1479, allocations: 7.984 kB / 0.5594 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.148, allocations: 11.94 kB / 0.5594 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1481, allocations: 15.91 kB / 0.5594 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1482, allocations: 0 / 0.5594 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.1484, allocations: 147.8 kB / 0.5596 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.1485, allocations: 3.984 kB / 0.5596 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.1485, allocations: 33.64 kB / 0.5596 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1487, allocations: 95.81 kB / 0.5597 GB, free: 8.801 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1487, allocations: 4 kB / 0.5597 GB, free: 8.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1487, allocations: 0 / 0.5597 GB, free: 8.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1487, allocations: 0 / 0.5597 GB, free: 8.797 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.0003655/0.1491, allocations: 355.6 kB / 0.56 GB, free: 8.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1492, allocations: 12.03 kB / 0.56 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.829e-05/0.1492, allocations: 109.8 kB / 0.5601 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.1493, allocations: 83.19 kB / 0.5602 GB, free: 8.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.1495, allocations: 246.3 kB / 0.5605 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/0.1496, allocations: 150.6 kB / 0.5606 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.155e-05/0.1496, allocations: 158.5 kB / 0.5607 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.364e-05/0.1497, allocations: 104.9 kB / 0.5608 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.1497, allocations: 83.22 kB / 0.5609 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.583e-05/0.1498, allocations: 150.6 kB / 0.5611 GB, free: 7.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.725e-05/0.1499, allocations: 150.6 kB / 0.5612 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.217e-05/0.1499, allocations: 150.6 kB / 0.5614 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.1503, allocations: 461.9 kB / 0.5618 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.149e-05/0.1504, allocations: 169.1 kB / 0.562 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.1504, allocations: 84.08 kB / 0.562 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.1504, allocations: 75.28 kB / 0.5621 GB, free: 6.133 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.1505, allocations: 105.8 kB / 0.5622 GB, free: 6.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1505, allocations: 0 / 0.5622 GB, free: 6.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.726e-05/0.1506, allocations: 37.66 kB / 0.5622 GB, free: 5.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.1506, allocations: 134.7 kB / 0.5624 GB, free: 5.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.1507, allocations: 101.9 kB / 0.5625 GB, free: 5.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1508, allocations: 25.7 kB / 0.5625 GB, free: 5.691 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.1508, allocations: 84.12 kB / 0.5626 GB, free: 5.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.1508, allocations: 0 / 0.5626 GB, free: 5.605 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.1508, allocations: 0 / 0.5626 GB, free: 5.605 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1509, allocations: 322.8 kB / 0.5629 GB, free: 5.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.151, allocations: 4 kB / 0.5629 GB, free: 5.277 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-05/0.151, allocations: 26.56 kB / 0.5629 GB, free: 5.242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.329e-05/0.151, allocations: 8 kB / 0.5629 GB, free: 5.234 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.151, allocations: 0 / 0.5629 GB, free: 5.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001309/0.1512, allocations: 41.64 kB / 0.563 GB, free: 5.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1512, allocations: 10.02 kB / 0.563 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1512, allocations: 4.094 kB / 0.563 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1512, allocations: 11.89 kB / 0.563 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.1513, allocations: 4 kB / 0.563 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1513, allocations: 0 / 0.563 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.1515, allocations: 11.91 kB / 0.563 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1515, allocations: 8.234 kB / 0.563 GB, free: 5.141 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.1516, allocations: 193 kB / 0.5632 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.1517, allocations: 105 kB / 0.5633 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.544e-05/0.1517, allocations: 108.1 kB / 0.5634 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-05/0.1518, allocations: 188.2 kB / 0.5636 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-05/0.1518, allocations: 184.2 kB / 0.5638 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.338e-05/0.1519, allocations: 180.2 kB / 0.5639 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1521, allocations: 405.2 kB / 0.5643 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.65e-05/0.1522, allocations: 105 kB / 0.5644 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.1522, allocations: 104.9 kB / 0.5645 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-05/0.1523, allocations: 184.2 kB / 0.5647 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.1524, allocations: 184.2 kB / 0.5649 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.126e-05/0.1524, allocations: 180.2 kB / 0.565 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.207e-05/0.1525, allocations: 184.3 kB / 0.5652 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.1526, allocations: 303.9 kB / 0.5655 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.1527, allocations: 194 kB / 0.5657 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.1528, allocations: 180.3 kB / 0.5659 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.1529, allocations: 101 kB / 0.566 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.153, allocations: 184.2 kB / 0.5661 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.153, allocations: 101 kB / 0.5662 GB, free: 1.617 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.763e-05/0.1531, allocations: 91.22 kB / 0.5663 GB, free: 1.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1531, allocations: 4 kB / 0.5663 GB, free: 1.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.1534, allocations: 43.98 kB / 0.5664 GB, free: 1.48 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008447/0.1542, allocations: 0.9838 MB / 0.5673 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.102e-05/0.1543, allocations: 8 kB / 0.5673 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1543, allocations: 0 / 0.5673 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-06/0.1543, allocations: 3.938 kB / 0.5673 GB, free: 0.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.1547, allocations: 0.5265 MB / 0.5678 GB, free: 15.97 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.0006941/0.1554, allocations: 448.9 kB / 0.5683 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1557, allocations: 0.6771 MB / 0.5689 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.647e-05/0.1558, allocations: 0 / 0.5689 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.1558, allocations: 15.38 kB / 0.569 GB, free: 14.76 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1558, allocations: 0 / 0.569 GB, free: 14.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2035/0.3594, allocations: 2.344 MB / 0.5712 GB, free: 12.62 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.3596, allocations: 257.9 kB / 0.5715 GB, free: 12.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.121, allocations: 0 / 0.5715 GB, free: 12.29 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/linux/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) Environment - environmentSimulation: