Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.001293/0.001293, allocations: 108 kB / 15.6 MB, free: 132 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.001302/0.001302, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002628/0.002628, allocations: 283 kB / 290.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.082/1.082, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003727/0.003727, allocations: 100.6 kB / 0.6065 GB, free: 24.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1559, allocations: 89.15 MB / 0.6936 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002374/0.1583, allocations: 1.232 MB / 0.6948 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1593, allocations: 0.7211 MB / 0.6955 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.417e-05/0.1594, allocations: 4.438 kB / 0.6955 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.1594, allocations: 5.297 kB / 0.6955 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.1596, allocations: 11.98 kB / 0.6955 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.09e-05/0.1597, allocations: 7.938 kB / 0.6955 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.962e-05/0.1597, allocations: 8.734 kB / 0.6955 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.1598, allocations: 7.984 kB / 0.6956 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.63e-05/0.1598, allocations: 4.781 kB / 0.6956 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.1599, allocations: 11.97 kB / 0.6956 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.16, allocations: 1.438 kB / 0.6956 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-05/0.16, allocations: 11.92 kB / 0.6956 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.1601, allocations: 7.984 kB / 0.6956 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.1601, allocations: 3.938 kB / 0.6956 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.805e-05/0.1602, allocations: 12.64 kB / 0.6956 GB, free: 2.168 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1602, allocations: 0 / 0.6956 GB, free: 2.168 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1602, allocations: 0.5938 kB / 0.6956 GB, free: 2.168 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1602, allocations: 0 / 0.6956 GB, free: 2.168 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.0003669/0.1606, allocations: 327.2 kB / 0.6959 GB, free: 1.801 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1606, allocations: 8.031 kB / 0.6959 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.032e-05/0.1607, allocations: 106 kB / 0.696 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.1607, allocations: 88.05 kB / 0.6961 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.1609, allocations: 243.7 kB / 0.6963 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.821e-05/0.161, allocations: 154.9 kB / 0.6965 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.1611, allocations: 154.9 kB / 0.6966 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.681e-05/0.1612, allocations: 105.5 kB / 0.6967 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.1612, allocations: 83.22 kB / 0.6968 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.1613, allocations: 150.6 kB / 0.697 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.1613, allocations: 150.6 kB / 0.6971 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.313e-05/0.1614, allocations: 158.5 kB / 0.6973 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.1617, allocations: 446 kB / 0.6977 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.95e-05/0.1618, allocations: 169.1 kB / 0.6978 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.1619, allocations: 80.14 kB / 0.6979 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.1619, allocations: 83.22 kB / 0.698 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.162, allocations: 109.9 kB / 0.6981 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.162, allocations: 0 / 0.6981 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.745e-05/0.1621, allocations: 41.62 kB / 0.6981 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.1621, allocations: 126.7 kB / 0.6983 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.1622, allocations: 97.8 kB / 0.6984 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1622, allocations: 25.7 kB / 0.6984 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.1623, allocations: 92.14 kB / 0.6985 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-06/0.1623, allocations: 0 / 0.6985 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.1623, allocations: 13.7 kB / 0.6985 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1625, allocations: 310.8 kB / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-06/0.1625, allocations: 0 / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.614e-05/0.1625, allocations: 4 kB / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.1625, allocations: 75.28 kB / 0.6989 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.12e-05/0.1626, allocations: 79.28 kB / 0.6989 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.739e-05/0.1626, allocations: 33.73 kB / 0.699 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.1627, allocations: 83.22 kB / 0.699 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-05/0.1627, allocations: 79.22 kB / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.096e-05/0.1628, allocations: 158.5 kB / 0.6993 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.179e-05/0.1628, allocations: 83.22 kB / 0.6993 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.846e-05/0.1629, allocations: 150.6 kB / 0.6995 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.163, allocations: 79.28 kB / 0.6996 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.1631, allocations: 83.22 kB / 0.6996 GB, free: 13.78 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001218/0.1632, allocations: 256.4 kB / 0.6999 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.1633, allocations: 113.1 kB / 0.7 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.1633, allocations: 116.1 kB / 0.7001 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.101e-05/0.1634, allocations: 180.3 kB / 0.7003 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-05/0.1635, allocations: 176.3 kB / 0.7004 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.416e-05/0.1636, allocations: 184.2 kB / 0.7006 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.1638, allocations: 401.2 kB / 0.701 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.711e-05/0.1639, allocations: 112.9 kB / 0.7011 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.1639, allocations: 105 kB / 0.7012 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.486e-05/0.164, allocations: 188.2 kB / 0.7014 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/0.1641, allocations: 180.2 kB / 0.7016 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.036e-05/0.1642, allocations: 176.3 kB / 0.7017 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.696e-05/0.1643, allocations: 188.2 kB / 0.7019 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.1644, allocations: 303.8 kB / 0.7022 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.1645, allocations: 190 kB / 0.7024 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/0.1646, allocations: 180.2 kB / 0.7026 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.221e-05/0.1647, allocations: 108.9 kB / 0.7027 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.1648, allocations: 180.5 kB / 0.7028 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.1648, allocations: 101 kB / 0.7029 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.1649, allocations: 95.2 kB / 0.703 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1649, allocations: 0 / 0.703 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000278/0.1652, allocations: 8 kB / 0.703 GB, free: 10.09 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.0005402/0.1657, allocations: 0.822 MB / 0.7038 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.212e-05/0.1658, allocations: 4 kB / 0.7038 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1658, allocations: 0 / 0.7038 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.553e-06/0.1658, allocations: 3.938 kB / 0.7038 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1662, allocations: 455.7 kB / 0.7043 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.1674, allocations: 1.564 MB / 0.7058 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1678, allocations: 0.6729 MB / 0.7065 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.517e-05/0.1678, allocations: 4 kB / 0.7065 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.1678, allocations: 7.438 kB / 0.7065 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1678, allocations: 0 / 0.7065 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.1904, allocations: 1.189 MB / 0.7076 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.73, allocations: 6.047 kB / 0.7076 GB, free: 5.406 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)