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.00131/0.00131, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001546/0.001546, allocations: 213.4 kB / 22.24 MB, free: 4.855 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 8.004 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.8259/0.8259, allocations: 134 MB / 446.4 MB, free: 9.965 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.001957/0.001957, allocations: 69.12 kB / 0.6185 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1682, allocations: 85.92 MB / 0.7024 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002221/0.1705, allocations: 1.266 MB / 0.7036 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1721, allocations: 1.084 MB / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.1721, allocations: 0 / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.1721, allocations: 0 / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.1726, allocations: 107.5 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.406e-06/0.1726, allocations: 0 / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.787e-05/0.1726, allocations: 11.97 kB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.1726, allocations: 0 / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.1726, allocations: 0 / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.1727, allocations: 11.94 kB / 0.7048 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.1727, allocations: 0 / 0.7048 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.1729, allocations: 107.9 kB / 0.7049 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.161e-06/0.1729, allocations: 0 / 0.7049 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.492e-05/0.1729, allocations: 3.938 kB / 0.7049 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1731, allocations: 111.9 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1731, allocations: 0 / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.083e-06/0.1731, allocations: 0 / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.1732, allocations: 0 / 0.705 GB, free: 14.34 MB / 0.5294 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.000325/0.1735, allocations: 278 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1735, allocations: 8.031 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.881e-05/0.1736, allocations: 110 kB / 0.7054 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.1736, allocations: 80.22 kB / 0.7055 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1738, allocations: 185.8 kB / 0.7057 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.359e-05/0.1738, allocations: 150.9 kB / 0.7058 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.1739, allocations: 154.9 kB / 0.706 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.949e-05/0.174, allocations: 108.9 kB / 0.7061 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.174, allocations: 79.22 kB / 0.7061 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.1741, allocations: 150.6 kB / 0.7063 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-05/0.1742, allocations: 150.6 kB / 0.7064 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.1742, allocations: 158.5 kB / 0.7066 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.1746, allocations: 417 kB / 0.707 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.975e-05/0.1747, allocations: 169.1 kB / 0.7071 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.1747, allocations: 84.08 kB / 0.7072 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.1747, allocations: 83.22 kB / 0.7073 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.956e-05/0.1748, allocations: 113.8 kB / 0.7074 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.1748, allocations: 0 / 0.7074 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.689e-05/0.1749, allocations: 25.7 kB / 0.7074 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.1749, allocations: 130.7 kB / 0.7075 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.312e-05/0.175, allocations: 93.86 kB / 0.7076 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.175, allocations: 25.7 kB / 0.7077 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.1751, allocations: 88.27 kB / 0.7077 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.1751, allocations: 0 / 0.7077 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.1751, allocations: 13.72 kB / 0.7078 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1752, allocations: 310.8 kB / 0.7081 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-06/0.1753, allocations: 3.938 kB / 0.7081 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-06/0.1753, allocations: 0 / 0.7081 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.1753, allocations: 75.28 kB / 0.7081 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.964e-05/0.1754, allocations: 79.28 kB / 0.7082 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.442e-05/0.1754, allocations: 33.62 kB / 0.7082 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.1755, allocations: 79.28 kB / 0.7083 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/0.1755, allocations: 79.28 kB / 0.7084 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.289e-05/0.1756, allocations: 158.5 kB / 0.7085 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.901e-05/0.1756, allocations: 75.28 kB / 0.7086 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.081e-05/0.1757, allocations: 162.6 kB / 0.7088 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.697e-05/0.1758, allocations: 83.23 kB / 0.7088 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.1758, allocations: 75.28 kB / 0.7089 GB, free: 10.15 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.0001301/0.176, allocations: 268.3 kB / 0.7092 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.176, allocations: 104.9 kB / 0.7093 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.1761, allocations: 112.2 kB / 0.7094 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.801e-05/0.1762, allocations: 184.2 kB / 0.7096 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.781e-05/0.1762, allocations: 176.3 kB / 0.7097 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-05/0.1763, allocations: 192.2 kB / 0.7099 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.1766, allocations: 368.3 kB / 0.7103 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/0.1766, allocations: 104.9 kB / 0.7104 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.1767, allocations: 116.9 kB / 0.7105 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.189e-05/0.1767, allocations: 176.3 kB / 0.7106 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.033e-05/0.1768, allocations: 184.2 kB / 0.7108 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.657e-05/0.1769, allocations: 180.3 kB / 0.711 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.558e-05/0.177, allocations: 176.3 kB / 0.7112 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.1771, allocations: 307.8 kB / 0.7114 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.1772, allocations: 116.8 kB / 0.7116 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.1772, allocations: 176.3 kB / 0.7117 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.1773, allocations: 113 kB / 0.7118 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/0.1774, allocations: 188.2 kB / 0.712 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.1775, allocations: 101 kB / 0.7121 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.1775, allocations: 79.28 kB / 0.7122 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1775, allocations: 0 / 0.7122 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002982/0.1778, allocations: 43.8 kB / 0.7122 GB, free: 6.559 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.0008492/0.1786, allocations: 0.9475 MB / 0.7132 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 3.758e-05/0.1787, allocations: 8 kB / 0.7132 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1787, allocations: 0 / 0.7132 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.1787, allocations: 3.938 kB / 0.7132 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1791, allocations: 463.6 kB / 0.7136 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.1803, allocations: 1.552 MB / 0.7151 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.233e-05/0.1803, allocations: 63.2 kB / 0.7152 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.454e-06/0.1803, allocations: 0 / 0.7152 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.1803, allocations: 7.438 kB / 0.7152 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1803, allocations: 0 / 0.7152 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.21, allocations: 2.381 MB / 0.7175 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.87, allocations: 1.875 kB / 0.7175 GB, free: 1.207 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.579460788052529] Failed to read output from testmodel.py, exit status != 0: 11.029678378719836 11.055023293 10.87687417 Calling exit ...