Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_IDEAS_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.005177/0.005177, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.0013/0.0013, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8354/0.8354, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 76.38 kB / 0.5809 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1371, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002199/0.1393, allocations: 1.245 MB / 0.6604 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1404, allocations: 0.7274 MB / 0.6611 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.1404, allocations: 0 / 0.6611 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.1404, allocations: 3.938 kB / 0.6611 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1406, allocations: 19.92 kB / 0.6612 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.216e-05/0.1407, allocations: 0 / 0.6612 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.704e-05/0.1408, allocations: 19.91 kB / 0.6612 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.201e-05/0.1408, allocations: 0 / 0.6612 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.642e-05/0.1409, allocations: 0 / 0.6612 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.141, allocations: 4 kB / 0.6612 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.141, allocations: 8 kB / 0.6612 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-05/0.1411, allocations: 7.984 kB / 0.6612 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.1411, allocations: 3.984 kB / 0.6612 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.1411, allocations: 11.94 kB / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.437e-05/0.1412, allocations: 12.2 kB / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1412, allocations: 0 / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1412, allocations: 0 / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.1412, allocations: 0 / 0.6612 GB, free: 8.688 MB / 0.4981 GB 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.0003585/0.1416, allocations: 319.6 kB / 0.6615 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1417, allocations: 12.03 kB / 0.6615 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.521e-05/0.1417, allocations: 106 kB / 0.6616 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.069e-05/0.1418, allocations: 84.17 kB / 0.6617 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.142, allocations: 247.5 kB / 0.6619 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.452e-05/0.1421, allocations: 150.9 kB / 0.6621 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/0.1421, allocations: 154.9 kB / 0.6622 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.466e-05/0.1422, allocations: 105.5 kB / 0.6623 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.1423, allocations: 79.22 kB / 0.6624 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.1423, allocations: 154.6 kB / 0.6626 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/0.1424, allocations: 158.5 kB / 0.6627 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.206e-05/0.1425, allocations: 154.5 kB / 0.6629 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.1428, allocations: 449.9 kB / 0.6633 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.987e-05/0.1429, allocations: 169.1 kB / 0.6635 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.143, allocations: 80.14 kB / 0.6635 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.143, allocations: 75.28 kB / 0.6636 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.532e-05/0.1431, allocations: 105.8 kB / 0.6637 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.1431, allocations: 11.94 kB / 0.6637 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.817e-05/0.1432, allocations: 37.56 kB / 0.6638 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.1433, allocations: 126.7 kB / 0.6639 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1434, allocations: 97.86 kB / 0.664 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1434, allocations: 29.7 kB / 0.664 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.1434, allocations: 80.14 kB / 0.6641 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.1434, allocations: 0 / 0.6641 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.1435, allocations: 13.7 kB / 0.6641 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1436, allocations: 322.8 kB / 0.6644 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/0.1436, allocations: 0 / 0.6644 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.1437, allocations: 0 / 0.6644 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.1437, allocations: 75.28 kB / 0.6645 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.017e-05/0.1437, allocations: 75.28 kB / 0.6645 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.957e-05/0.1438, allocations: 33.64 kB / 0.6646 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.1438, allocations: 83.22 kB / 0.6646 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.635e-05/0.1439, allocations: 79.33 kB / 0.6647 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.368e-05/0.144, allocations: 162.6 kB / 0.6649 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.179e-05/0.144, allocations: 79.22 kB / 0.665 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.304e-05/0.1441, allocations: 150.6 kB / 0.6651 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.1442, allocations: 87.22 kB / 0.6652 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.1443, allocations: 75.28 kB / 0.6653 GB, free: 4.301 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.0001419/0.1444, allocations: 261.3 kB / 0.6655 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/0.1445, allocations: 117.2 kB / 0.6656 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.1446, allocations: 108.1 kB / 0.6657 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.548e-05/0.1447, allocations: 184.3 kB / 0.6659 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.663e-05/0.1448, allocations: 184.2 kB / 0.6661 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.651e-05/0.1448, allocations: 176.3 kB / 0.6662 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.1451, allocations: 405.2 kB / 0.6666 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.167e-05/0.1452, allocations: 105 kB / 0.6667 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.1452, allocations: 105 kB / 0.6668 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.652e-05/0.1453, allocations: 188.1 kB / 0.667 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-05/0.1454, allocations: 176.3 kB / 0.6672 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.521e-05/0.1455, allocations: 188.2 kB / 0.6673 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.428e-05/0.1456, allocations: 180.3 kB / 0.6675 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.1457, allocations: 307.8 kB / 0.6678 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1459, allocations: 182 kB / 0.668 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/0.146, allocations: 192.1 kB / 0.6682 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1461, allocations: 117 kB / 0.6683 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.1462, allocations: 176.3 kB / 0.6684 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.1462, allocations: 104.9 kB / 0.6685 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.147e-05/0.1463, allocations: 79.28 kB / 0.6686 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1463, allocations: 0 / 0.6686 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002671/0.1466, allocations: 4 kB / 0.6686 GB, free: 0.6094 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.0006719/0.1472, allocations: 0.8243 MB / 0.6694 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 5.092e-05/0.1473, allocations: 3.938 kB / 0.6694 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1473, allocations: 0 / 0.6694 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.1473, allocations: 4 kB / 0.6694 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.1477, allocations: 459.7 kB / 0.6699 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.1491, allocations: 1.56 MB / 0.6714 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1494, allocations: 0.6768 MB / 0.6721 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.664e-05/0.1494, allocations: 0 / 0.6721 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.1494, allocations: 15.47 kB / 0.6721 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1495, allocations: 0 / 0.6721 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.1718, allocations: 1.194 MB / 0.6732 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.814, allocations: 8.938 kB / 0.6733 GB, free: 11.92 MB / 0.5137 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)