Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 104.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8668/0.8668, allocations: 134 MB / 442.8 MB, free: 11.31 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 70.27 kB / 0.6134 GB, free: 8.723 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1728, allocations: 85.84 MB / 0.6973 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002456/0.1752, allocations: 1.263 MB / 0.6985 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1768, allocations: 1.02 MB / 0.6995 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.1768, allocations: 0 / 0.6995 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.1768, allocations: 0 / 0.6995 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.1772, allocations: 107.5 kB / 0.6996 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.1772, allocations: 0 / 0.6996 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.78e-05/0.1773, allocations: 3.984 kB / 0.6996 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.1773, allocations: 7.984 kB / 0.6996 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.308e-05/0.1773, allocations: 0 / 0.6996 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.65e-05/0.1774, allocations: 8 kB / 0.6996 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.1774, allocations: 3.938 kB / 0.6996 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.1776, allocations: 119.8 kB / 0.6997 GB, free: 416 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.524e-06/0.1776, allocations: 3.984 kB / 0.6997 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.622e-05/0.1777, allocations: 4 kB / 0.6998 GB, free: 408 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1779, allocations: 108 kB / 0.6999 GB, free: 300 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1779, allocations: 3.938 kB / 0.6999 GB, free: 296 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1779, allocations: 0 / 0.6999 GB, free: 296 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.1779, allocations: 0 / 0.6999 GB, free: 296 kB / 0.5137 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.000413/0.1783, allocations: 355.1 kB / 0.7002 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1783, allocations: 9.109 kB / 0.7002 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.1784, allocations: 110 kB / 0.7003 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.1785, allocations: 80.22 kB / 0.7004 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.1787, allocations: 239.7 kB / 0.7006 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/0.1787, allocations: 150.9 kB / 0.7008 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.1788, allocations: 154.9 kB / 0.7009 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.752e-05/0.1789, allocations: 108.9 kB / 0.701 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.1789, allocations: 83.28 kB / 0.7011 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.854e-05/0.179, allocations: 150.6 kB / 0.7012 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-05/0.179, allocations: 150.6 kB / 0.7014 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.1791, allocations: 154.5 kB / 0.7015 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.1794, allocations: 449.9 kB / 0.702 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1796, allocations: 173.1 kB / 0.7021 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.1796, allocations: 80.14 kB / 0.7022 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.1796, allocations: 79.22 kB / 0.7023 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/0.1797, allocations: 109.8 kB / 0.7024 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.1797, allocations: 0 / 0.7024 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.234e-05/0.1798, allocations: 33.64 kB / 0.7024 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.1798, allocations: 126.7 kB / 0.7025 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1799, allocations: 101.8 kB / 0.7026 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1799, allocations: 25.7 kB / 0.7027 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.18, allocations: 80.14 kB / 0.7027 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.18, allocations: 4 kB / 0.7027 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.18, allocations: 9.719 kB / 0.7027 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.1801, allocations: 318.9 kB / 0.703 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-06/0.1801, allocations: 0 / 0.703 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-06/0.1801, allocations: 0 / 0.703 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.1802, allocations: 75.28 kB / 0.7031 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.364e-05/0.1802, allocations: 79.28 kB / 0.7032 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.561e-05/0.1803, allocations: 37.69 kB / 0.7032 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.1803, allocations: 79.28 kB / 0.7033 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-05/0.1803, allocations: 87.2 kB / 0.7034 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.839e-05/0.1804, allocations: 154.6 kB / 0.7035 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.618e-05/0.1805, allocations: 75.28 kB / 0.7036 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.357e-05/0.1805, allocations: 154.6 kB / 0.7038 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.1806, allocations: 83.3 kB / 0.7038 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.1807, allocations: 79.22 kB / 0.7039 GB, free: 11.89 MB / 0.5294 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.0001401/0.1808, allocations: 264.4 kB / 0.7042 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.1809, allocations: 108.9 kB / 0.7043 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.1809, allocations: 108.1 kB / 0.7044 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.589e-05/0.181, allocations: 180.2 kB / 0.7045 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.573e-05/0.1811, allocations: 176.3 kB / 0.7047 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.163e-05/0.1812, allocations: 184.2 kB / 0.7049 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.1814, allocations: 405.2 kB / 0.7053 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.295e-05/0.1814, allocations: 104.9 kB / 0.7054 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.685e-05/0.1815, allocations: 104.9 kB / 0.7055 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.57e-05/0.1816, allocations: 184.2 kB / 0.7056 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-05/0.1817, allocations: 188.2 kB / 0.7058 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.807e-05/0.1817, allocations: 180.3 kB / 0.706 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-05/0.1818, allocations: 180.2 kB / 0.7062 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.182, allocations: 303.8 kB / 0.7065 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.1821, allocations: 190 kB / 0.7066 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.1822, allocations: 180.2 kB / 0.7068 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.1822, allocations: 108.9 kB / 0.7069 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/0.1823, allocations: 184.2 kB / 0.7071 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.1824, allocations: 109 kB / 0.7072 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.374e-05/0.1824, allocations: 79.28 kB / 0.7073 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1824, allocations: 0 / 0.7073 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003228/0.1828, allocations: 39.8 kB / 0.7073 GB, free: 8.18 MB / 0.5294 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.0009579/0.1837, allocations: 0.9496 MB / 0.7082 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 3.995e-05/0.1837, allocations: 0 / 0.7082 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1838, allocations: 4 kB / 0.7082 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1838, allocations: 0 / 0.7082 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1841, allocations: 469.2 kB / 0.7087 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.1855, allocations: 1.556 MB / 0.7102 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1858, allocations: 0.6805 MB / 0.7109 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.949e-06/0.1858, allocations: 0 / 0.7109 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.1858, allocations: 7.438 kB / 0.7109 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1858, allocations: 4.031 kB / 0.7109 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.2132, allocations: 1.881 MB / 0.7127 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.146, allocations: 9.953 kB / 0.7127 GB, free: 2.707 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_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_GetAltitudeTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.936996231990634] Failed to read output from testmodel.py, exit status != 0: 8.26254289499775 8.288406291 8.106799922 Calling exit ...