Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.GetTimeSpanTMY3LongHeader,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IBPSA_latest_IBPSA_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.001316/0.001316, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.001255/0.001256, allocations: 192 kB / 17.34 MB, free: 5.727 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8004/0.8004, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 59.38 kB / 0.5735 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1259, allocations: 78.87 MB / 0.6506 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002161/0.1281, allocations: 1.223 MB / 0.6518 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009973/0.1291, allocations: 0.7292 MB / 0.6525 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.1291, allocations: 0 / 0.6525 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.1292, allocations: 0 / 0.6525 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.1293, allocations: 11.92 kB / 0.6525 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.06e-05/0.1294, allocations: 6.125 kB / 0.6525 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.754e-05/0.1295, allocations: 15.92 kB / 0.6525 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.31e-05/0.1295, allocations: 15.92 kB / 0.6525 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.1295, allocations: 4 kB / 0.6525 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1297, allocations: 4 kB / 0.6525 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1297, allocations: 0 / 0.6525 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.871e-05/0.1297, allocations: 7.984 kB / 0.6525 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.1298, allocations: 4 kB / 0.6525 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.1298, allocations: 3.984 kB / 0.6525 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.285e-05/0.1299, allocations: 24.14 kB / 0.6526 GB, free: 1.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1299, allocations: 0 / 0.6526 GB, free: 1.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1299, allocations: 0 / 0.6526 GB, free: 1.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1299, allocations: 0 / 0.6526 GB, free: 1.551 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.0003281/0.1302, allocations: 319.5 kB / 0.6529 GB, free: 1.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.1303, allocations: 12.03 kB / 0.6529 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.1303, allocations: 106 kB / 0.653 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.1304, allocations: 76.22 kB / 0.6531 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.1306, allocations: 259.5 kB / 0.6533 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.1307, allocations: 150.9 kB / 0.6534 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.1307, allocations: 154.9 kB / 0.6536 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.249e-05/0.1308, allocations: 101.5 kB / 0.6537 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/0.1308, allocations: 79.22 kB / 0.6538 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.1309, allocations: 150.6 kB / 0.6539 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.909e-05/0.131, allocations: 154.6 kB / 0.6541 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.832e-05/0.1311, allocations: 154.5 kB / 0.6542 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.1314, allocations: 449.9 kB / 0.6546 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.918e-05/0.1315, allocations: 169.1 kB / 0.6548 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/0.1315, allocations: 80.14 kB / 0.6549 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.1316, allocations: 79.28 kB / 0.6549 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.1316, allocations: 113.8 kB / 0.6551 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1316, allocations: 0 / 0.6551 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.813e-05/0.1317, allocations: 33.58 kB / 0.6551 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.1318, allocations: 130.7 kB / 0.6552 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1319, allocations: 101.8 kB / 0.6553 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1319, allocations: 25.7 kB / 0.6553 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.132, allocations: 80.14 kB / 0.6554 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.132, allocations: 7.938 kB / 0.6554 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.132, allocations: 13.72 kB / 0.6554 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1322, allocations: 314.8 kB / 0.6557 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-06/0.1322, allocations: 0 / 0.6557 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/0.1322, allocations: 4 kB / 0.6557 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.1322, allocations: 79.28 kB / 0.6558 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.043e-05/0.1323, allocations: 75.28 kB / 0.6559 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.413e-05/0.1323, allocations: 33.64 kB / 0.6559 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.1324, allocations: 91.25 kB / 0.656 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.1324, allocations: 79.33 kB / 0.6561 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.862e-05/0.1325, allocations: 154.5 kB / 0.6562 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-05/0.1325, allocations: 79.28 kB / 0.6563 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.674e-05/0.1326, allocations: 154.5 kB / 0.6564 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1327, allocations: 79.22 kB / 0.6565 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.1328, allocations: 79.28 kB / 0.6566 GB, free: 13.16 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.0001382/0.1329, allocations: 264.4 kB / 0.6569 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.133, allocations: 109 kB / 0.657 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.133, allocations: 116.1 kB / 0.6571 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.028e-05/0.1331, allocations: 176.3 kB / 0.6572 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-05/0.1332, allocations: 184.2 kB / 0.6574 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-05/0.1333, allocations: 180.3 kB / 0.6576 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.1336, allocations: 405.2 kB / 0.658 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/0.1336, allocations: 101 kB / 0.6581 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.1337, allocations: 101 kB / 0.6582 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.55e-05/0.1337, allocations: 188.1 kB / 0.6583 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-05/0.1338, allocations: 188.2 kB / 0.6585 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.791e-05/0.1339, allocations: 180.2 kB / 0.6587 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-05/0.134, allocations: 180.3 kB / 0.6589 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.1341, allocations: 303.8 kB / 0.6592 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.836e-05/0.1343, allocations: 194 kB / 0.6593 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/0.1343, allocations: 184.1 kB / 0.6595 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.1344, allocations: 101 kB / 0.6596 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.1345, allocations: 184.2 kB / 0.6598 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.1346, allocations: 105.1 kB / 0.6599 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.1346, allocations: 87.27 kB / 0.66 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.094e-06/0.1347, allocations: 3.938 kB / 0.66 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002634/0.1349, allocations: 7.938 kB / 0.66 GB, free: 9.477 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.0005454/0.1355, allocations: 0.8165 MB / 0.6608 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.73e-05/0.1355, allocations: 11.94 kB / 0.6608 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1355, allocations: 0 / 0.6608 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.1355, allocations: 0 / 0.6608 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1359, allocations: 451.7 kB / 0.6612 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1371, allocations: 1.554 MB / 0.6627 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1374, allocations: 0.673 MB / 0.6634 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.579e-05/0.1375, allocations: 7.984 kB / 0.6634 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.1375, allocations: 11.44 kB / 0.6634 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1375, allocations: 0 / 0.6634 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.1711, allocations: 1.201 MB / 0.6646 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.257, allocations: 10.06 kB / 0.6646 GB, free: 4.793 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)