Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.GetTimeSpanTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_IDEAS_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.004923/0.004923, allocations: 99.89 kB / 15.73 MB, free: 6.062 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.001299/0.001299, allocations: 191.9 kB / 16.68 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8251/0.8251, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 71.58 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1421, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002222/0.1444, allocations: 1.255 MB / 0.6604 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1454, allocations: 0.743 MB / 0.6612 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.1455, allocations: 0 / 0.6612 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.1455, allocations: 3.938 kB / 0.6612 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.1457, allocations: 11.98 kB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.1459, allocations: 46.39 kB / 0.6612 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.455e-05/0.146, allocations: 23.92 kB / 0.6612 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.146, allocations: 7.984 kB / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.1461, allocations: 15.98 kB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1462, allocations: 11.88 kB / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1462, allocations: 0 / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.742e-05/0.1463, allocations: 11.98 kB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.1463, allocations: 3.984 kB / 0.6613 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.1464, allocations: 15.88 kB / 0.6613 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.824e-05/0.1465, allocations: 24.19 kB / 0.6613 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1465, allocations: 0 / 0.6613 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1465, allocations: 0 / 0.6613 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.1465, allocations: 0 / 0.6613 GB, free: 8.551 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.0003573/0.1469, allocations: 331.5 kB / 0.6616 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1469, allocations: 8.031 kB / 0.6617 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.664e-05/0.147, allocations: 114 kB / 0.6618 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.147, allocations: 80.22 kB / 0.6618 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.1472, allocations: 235.7 kB / 0.6621 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.1473, allocations: 150.9 kB / 0.6622 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.1473, allocations: 162.9 kB / 0.6624 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.999e-05/0.1474, allocations: 101.5 kB / 0.6625 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.1475, allocations: 83.16 kB / 0.6625 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.1475, allocations: 154.6 kB / 0.6627 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-05/0.1476, allocations: 150.6 kB / 0.6628 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.435e-05/0.1477, allocations: 150.6 kB / 0.663 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.148, allocations: 461.8 kB / 0.6634 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.587e-05/0.1481, allocations: 165.1 kB / 0.6636 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.1481, allocations: 88.08 kB / 0.6637 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.1482, allocations: 79.27 kB / 0.6637 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.645e-05/0.1482, allocations: 113.8 kB / 0.6638 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1483, allocations: 0 / 0.6638 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.707e-05/0.1483, allocations: 29.64 kB / 0.6639 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.1484, allocations: 134.7 kB / 0.664 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1485, allocations: 105.8 kB / 0.6641 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1486, allocations: 25.7 kB / 0.6641 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.1486, allocations: 80.19 kB / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.1486, allocations: 0 / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.1487, allocations: 25.7 kB / 0.6642 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1488, allocations: 318.8 kB / 0.6645 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.1488, allocations: 7.938 kB / 0.6645 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.1489, allocations: 8 kB / 0.6645 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.1489, allocations: 16.84 kB / 0.6646 GB, free: 5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1489, allocations: 0 / 0.6646 GB, free: 5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.992e-05/0.149, allocations: 37.7 kB / 0.6646 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.149, allocations: 16.06 kB / 0.6646 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1491, allocations: 3.938 kB / 0.6646 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1491, allocations: 3.984 kB / 0.6646 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1491, allocations: 0 / 0.6646 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1491, allocations: 0 / 0.6646 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.555e-05/0.1492, allocations: 4 kB / 0.6646 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1492, allocations: 0 / 0.6646 GB, free: 4.93 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.0001172/0.1493, allocations: 185.9 kB / 0.6648 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.1494, allocations: 120.9 kB / 0.6649 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.1495, allocations: 104.5 kB / 0.665 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.888e-05/0.1495, allocations: 184.2 kB / 0.6652 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.567e-05/0.1496, allocations: 184.2 kB / 0.6654 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.777e-05/0.1497, allocations: 180.2 kB / 0.6655 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.15, allocations: 409.5 kB / 0.6659 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.324e-05/0.15, allocations: 105 kB / 0.666 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.1501, allocations: 104.9 kB / 0.6661 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.861e-05/0.1502, allocations: 184.3 kB / 0.6663 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.68e-05/0.1502, allocations: 188.2 kB / 0.6665 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.649e-05/0.1503, allocations: 176.3 kB / 0.6667 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.767e-05/0.1504, allocations: 180.3 kB / 0.6668 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1506, allocations: 307.8 kB / 0.6671 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.1507, allocations: 186 kB / 0.6673 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.1508, allocations: 184.2 kB / 0.6675 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/0.1509, allocations: 105 kB / 0.6676 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.151, allocations: 188.2 kB / 0.6678 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.151, allocations: 105 kB / 0.6679 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.576e-05/0.1511, allocations: 83.28 kB / 0.6679 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1511, allocations: 0 / 0.6679 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000233/0.1513, allocations: 4 kB / 0.6679 GB, free: 1.305 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.0005898/0.1519, allocations: 0.8204 MB / 0.6687 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.339e-05/0.152, allocations: 8 kB / 0.6687 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.152, allocations: 0 / 0.6687 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.152, allocations: 0 / 0.6687 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.1524, allocations: 455.8 kB / 0.6692 GB, free: 0 / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1535, allocations: 1.306 MB / 0.6705 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1538, allocations: 0.6768 MB / 0.6711 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.1538, allocations: 4 kB / 0.6711 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.1538, allocations: 7.438 kB / 0.6711 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1538, allocations: 0 / 0.6711 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.1773, allocations: 1.274 MB / 0.6724 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.777, allocations: 8.375 kB / 0.6724 GB, free: 12.77 MB / 0.5137 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)