Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001266/0.001266, allocations: 108 kB / 15.61 MB, free: 152 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.001213/0.001213, allocations: 194.9 kB / 16.53 MB, free: 6.699 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002596/0.002596, allocations: 299 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 99.72 kB / 0.6066 GB, free: 24.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1434, allocations: 89.15 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002504/0.1459, allocations: 1.243 MB / 0.6948 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.147, allocations: 0.7459 MB / 0.6956 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.147, allocations: 0 / 0.6956 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.1471, allocations: 0 / 0.6956 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.1473, allocations: 11.92 kB / 0.6956 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.1475, allocations: 53.33 kB / 0.6956 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.1475, allocations: 15.98 kB / 0.6956 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.1476, allocations: 9.609 kB / 0.6956 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.663e-05/0.1476, allocations: 11.94 kB / 0.6957 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1478, allocations: 15.92 kB / 0.6957 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1478, allocations: 0 / 0.6957 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.683e-05/0.1479, allocations: 16.58 kB / 0.6957 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.1479, allocations: 0 / 0.6957 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.1479, allocations: 12.73 kB / 0.6957 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.588e-05/0.148, allocations: 20.27 kB / 0.6957 GB, free: 2.078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1481, allocations: 3.406 kB / 0.6957 GB, free: 2.078 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1481, allocations: 0 / 0.6957 GB, free: 2.078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1481, allocations: 0 / 0.6957 GB, free: 2.078 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.0003706/0.1484, allocations: 327.4 kB / 0.696 GB, free: 1.707 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1485, allocations: 15.95 kB / 0.696 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.429e-05/0.1486, allocations: 106 kB / 0.6961 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.1486, allocations: 84.22 kB / 0.6962 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.1488, allocations: 247.6 kB / 0.6965 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.21e-05/0.1489, allocations: 154.9 kB / 0.6966 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.149, allocations: 154.9 kB / 0.6968 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.323e-05/0.149, allocations: 101.5 kB / 0.6969 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/0.1491, allocations: 79.22 kB / 0.6969 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.538e-05/0.1492, allocations: 154.6 kB / 0.6971 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.099e-05/0.1492, allocations: 150.6 kB / 0.6972 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.147e-05/0.1493, allocations: 158.5 kB / 0.6974 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.1496, allocations: 449.9 kB / 0.6978 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.604e-05/0.1497, allocations: 173.1 kB / 0.698 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.1498, allocations: 84.14 kB / 0.698 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.1498, allocations: 79.27 kB / 0.6981 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.1499, allocations: 109.8 kB / 0.6982 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1499, allocations: 0 / 0.6982 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.04e-05/0.15, allocations: 41.48 kB / 0.6983 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.1501, allocations: 126.7 kB / 0.6984 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.1502, allocations: 109.8 kB / 0.6985 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1502, allocations: 25.7 kB / 0.6985 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.1503, allocations: 84.14 kB / 0.6986 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.1503, allocations: 0 / 0.6986 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.1503, allocations: 17.7 kB / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1504, allocations: 314.8 kB / 0.6989 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.1505, allocations: 0 / 0.6989 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.1505, allocations: 15.98 kB / 0.6989 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.1505, allocations: 16.95 kB / 0.6989 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1505, allocations: 0 / 0.6989 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001196/0.1507, allocations: 41.64 kB / 0.699 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1507, allocations: 11.92 kB / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1507, allocations: 0 / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1507, allocations: 0 / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.1507, allocations: 0 / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1507, allocations: 3.938 kB / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.871e-05/0.1508, allocations: 11.97 kB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1508, allocations: 3.938 kB / 0.699 GB, free: 14.45 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001091/0.151, allocations: 189.1 kB / 0.6992 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.151, allocations: 112.8 kB / 0.6993 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.1511, allocations: 104.5 kB / 0.6994 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.552e-05/0.1512, allocations: 180.3 kB / 0.6996 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.953e-05/0.1513, allocations: 184.2 kB / 0.6998 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.581e-05/0.1513, allocations: 176.3 kB / 0.6999 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.1516, allocations: 409.2 kB / 0.7003 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.32e-05/0.1517, allocations: 101 kB / 0.7004 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.1517, allocations: 105.1 kB / 0.7005 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-05/0.1518, allocations: 196.2 kB / 0.7007 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/0.1519, allocations: 180.3 kB / 0.7009 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.601e-05/0.152, allocations: 180.2 kB / 0.701 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.469e-05/0.1521, allocations: 180.3 kB / 0.7012 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.1522, allocations: 311.7 kB / 0.7015 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.902e-05/0.1523, allocations: 186.1 kB / 0.7017 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.7e-05/0.1524, allocations: 184.1 kB / 0.7019 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.1525, allocations: 105.2 kB / 0.702 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.1526, allocations: 176.3 kB / 0.7021 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.1526, allocations: 116.9 kB / 0.7022 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.21e-05/0.1527, allocations: 79.28 kB / 0.7023 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1527, allocations: 4 kB / 0.7023 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002284/0.1529, allocations: 4 kB / 0.7023 GB, free: 10.84 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.0005676/0.1535, allocations: 0.8304 MB / 0.7031 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.03e-05/0.1536, allocations: 11.92 kB / 0.7031 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1536, allocations: 0 / 0.7031 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/0.1536, allocations: 4 kB / 0.7031 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.154, allocations: 459.7 kB / 0.7036 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1551, allocations: 1.291 MB / 0.7048 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1554, allocations: 0.6768 MB / 0.7055 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.612e-05/0.1554, allocations: 4 kB / 0.7055 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.1555, allocations: 7.438 kB / 0.7055 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of SimCode: time 2.114e-06/0.1555, allocations: 3.938 kB / 0.7055 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.1792, allocations: 1.291 MB / 0.7068 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.717, allocations: 6.016 kB / 0.7068 GB, free: 6.301 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_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_GetTimeSpanTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)